josephjohn100
Member
- Joined
- Nov 8, 2012
- Messages
- 8
- Programming Experience
- 3-5
Can I store a DropDown List control in View State ?
Dim ddl As DropDownList = DirectCast(e.Item.FindControl("drpCountry"), DropDownList)
ViewState("drpNewBU") = ddl 'Getting Error here
How can I achieve this ?
Thanks
-John
Dim ddl As DropDownList = DirectCast(e.Item.FindControl("drpCountry"), DropDownList)
ViewState("drpNewBU") = ddl 'Getting Error here
How can I achieve this ?
Thanks
-John