开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜