how to preserve viewstate of radio button on postback
i have a radio button linked with an image in my datalist where i have enabled paging,when i click radio button and do paging,the state of ra开发者_开发技巧dio button is lost,how can i preserve the viewstate of this radio button.
You'll probably need to post some code. Is your RadioButton inside a DataList item template? If so, when you do paging you are rebinding that control and everything inside it is recreated.
精彩评论