B
Bryce
ASP.net 2.0, using Visual Studio 2005
Can't seem to figure out how to get a reference to a control in a FormView.
I have tried the following code:
Control list = ArticleDetailView.FindControl("IssueYearDropDown");
during several event handlers, including FormLoad,
ArticleDetailView_DataBinding, ArticleDetailView_ModeChanged
(ArticleDetailView is the FormView). It always returns null.
The Control is a DropDownList, and is specified in the InsertItemTemplate.
Thanks
Can't seem to figure out how to get a reference to a control in a FormView.
I have tried the following code:
Control list = ArticleDetailView.FindControl("IssueYearDropDown");
during several event handlers, including FormLoad,
ArticleDetailView_DataBinding, ArticleDetailView_ModeChanged
(ArticleDetailView is the FormView). It always returns null.
The Control is a DropDownList, and is specified in the InsertItemTemplate.
Thanks