Author: Mohammed Doghman | Posted on: 4/28/2010 10:27:13 AM | Views : 456

Hi guys,
How are you doing?
I am using Enum to fill dropdownlists. I want on the next page  to check which value was submitted in the previous page but i am getting an error.


if (PreviousPage != null && PreviousPage.IsCrossPagePostBack) { DropDownList drpDownList_pp =(DropDownList)PreviousPage.FindControl("drpZZPVAR"); string VarLoon = drpDownList_pp.SelectedValue; if ( (VarLoon == "VAR_Loon") || (VarLoon == "VAR_Row")) pnlMessage.Visible = false; }
Thanks in advance

...

Go to the complete details ...