Hi,
I have a formview called fvAddEditSubmitter. I stepped through the following code and each .FindControl returns a null. After a few hours
of staring at the screen, I decided to come here to ask the experts what did I forget.
The edit button is located in a gridview in the 1st Panel. The formview is located in another Panel. I was wonder if the Edit event is fired in a different panel could be the reason.
Any help is greatly appreciated. Thanks.
if (fvAddEditSubmitter.CurrentMode == FormViewMode.Edit)
{
DropDownList ddlEditDetermination = (DropDownList)fvAddEditSubmitter.FindControl("updddlEditDetermination");
TextBox txtEditSubmitterName = (TextBox)fvAddEditSubmitter.FindControl("updtxtEditSubmitterName");
TextBox txtEditSubmitterName1 = (TextBox)fvAddEditSubmitte ...
Go to the complete details ...