checkbox selected value is lost after coming back to the pagei.e., viewstate value is lost with use
Posted
by M.Vijay bhasker
on Stack Overflow
See other posts from Stack Overflow
or by M.Vijay bhasker
Published on 2010-05-03T15:58:59Z
Indexed on
2010/05/03
16:08 UTC
Read the original article
Hit count: 212
ASP.NET
In the left navigation i have a series of check boxes and a grid view in the page body.Grid view results changes based on the check box selection,whenever i click on the links in grid view it goes to the second page and there is a link on the page which takes me back to the first page,but the check box selected value is maintained for the first time only and if we repeat the same process for the second time and i see that the first time selection of the check box is maintained.Here the grid view is placed in update panel and the check box in the left is called using .... AsyncPostBackTrigger ControlID="cphLeftNavigation".
I've tried removing the above code referring the cphLeftNavigation and i see the results are coming up correctly and the last selected check box value is being maintained correctly and i want the same functionality to be implemented with/without update panel.
Can anyone let me know,what exactly should i change to implement the above mentioned functionality.
© Stack Overflow or respective owner