|
|
Home > ASP : formview with radiobuttonlist
| Question |
By: nikola
Date: 1/11/2010
|
formview with radiobuttonlist
|
|
i have 1 problem with formview
i using a radiobuttonlist in formview when i click on one of option in radiobutton and go on another page in formview, radiobutton dont remeber what i click before?
how to fix this ,please help??
|
|
|
| Comments. |
| Comment/Solution Posted By: Skhan Date: 1/11/2010 5:59:00 PM |
| When you say it goes to another page, you mean you are changing the page URL? if the url changes then please remember ASP.net will forget the viewstate information and everything will reset. |
| Comment/Solution Posted By: nikola Date: 1/12/2010 7:19:00 AM |
no i dont change page in URL,page is same like before
in formview i using property allowpaging,formview read data from my database and also radiobuttonlist read data for that page,and now what i wants is? when i click one of the radiobutton option,i wants to he rember that state,because when i click on 2 page,radiobuttonlist forget what i click before??
i hope so,that you realized what is my problem,and if anyone have some idea,please tell me how to fix this??
thanx a lot |
| Comment/Solution Posted By: skhan Date: 1/12/2010 1:31:00 PM |
I think your problem is you are not binding back to Formview control while paging, there is a event for paging, all you need to do is within that event bind your FormView again.
More Examples:
http://forums.asp.net/t/1295259.aspx |
|
|
|
|
|
|