G
Guest
I have a web page that makes extensive use of FindControl in the Page.Load
event to dynamicly populate label controls. Worked fine in 1.1 but I get a
"object not set to an instance...or not found" kind of message.
ex,
CType(FindControl("FY" & istring & "PayLabel"),
System.Web.UI.WebControls.Label).Text = YearString
Another difference is that in 1.1 I used a UserControl for a menu and in v2
I am using Master Pages.
Is there something I can do to retrieve this functionality? The v1.1 code is
really useful. I would hate to have to redo it...
Thanks
event to dynamicly populate label controls. Worked fine in 1.1 but I get a
"object not set to an instance...or not found" kind of message.
ex,
CType(FindControl("FY" & istring & "PayLabel"),
System.Web.UI.WebControls.Label).Text = YearString
Another difference is that in 1.1 I used a UserControl for a menu and in v2
I am using Master Pages.
Is there something I can do to retrieve this functionality? The v1.1 code is
really useful. I would hate to have to redo it...
Thanks