C
Chris Kettenbach
Good Morning All,
How can i get a handle on this drop down list?
public void myDropDown_OnDataBinding(object sender, EventArgs e)
{
DropDownList myDropDown = (DropDownList)sender;
Debug.Write(myDropDown.SelectedItem.Value);
}
gives me an Exception Details: System.NullReferenceException: Object
reference not set to an instance of an object.
Any ideas?
Thanks,
Chris
How can i get a handle on this drop down list?
public void myDropDown_OnDataBinding(object sender, EventArgs e)
{
DropDownList myDropDown = (DropDownList)sender;
Debug.Write(myDropDown.SelectedItem.Value);
}
gives me an Exception Details: System.NullReferenceException: Object
reference not set to an instance of an object.
Any ideas?
Thanks,
Chris