|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Accessing the controls in the PagerTemplate when using FormViewcreated in the PagerTemplate. Right now, I am doing this using the following method: CType(Me.FormViewID.FindControl("PagerTemplateControlID"), LinkButton) However, this gives me the following error: Object reference not set to an instance of an object. I am trying to access these controls in the Load event, and I think that that is why I am having the problem. However, I am not sure how to fix the problem. I would appreciate any help that anyone can give. Thanks. |
|||||||||||||||||||||||