944,007 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 899
  • ASP.NET RSS
Feb 25th, 2009
0

keeping checkbox check when page changes

Expand Post »
Hey all!

I have a gridview with multiple page, when i click on a check box in one page and proceed to the next page and click another check box in the previous page when I go back to the inital page the first check box click is cleared as if it wasnt selected, how can i save what was click when i move from page to page? Does pageIndexChange have anyting to do with it?

Any assistance would be welcome!

Thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nadineatwaroo is offline Offline
5 posts
since Jan 2009
Feb 25th, 2009
0

Re: keeping checkbox check when page changes

Is whether or not the checkbox is checked tied to a field in the database?
Reputation Points: 23
Solved Threads: 10
Light Poster
bcasp is offline Offline
45 posts
since Apr 2008
Feb 25th, 2009
0

Re: keeping checkbox check when page changes

By browser 'back' button or by navigation form buttons, it makes a difference how you navigate
Reputation Points: 562
Solved Threads: 368
Posting Maven
almostbob is offline Offline
2,970 posts
since Jan 2009
Feb 26th, 2009
0

Re: keeping checkbox check when page changes

Yes the checkbox is binded to a field in a table of a db. It is being updated but only when you stay on one page and click accept . So selection would have to do by page by page and then click accept for each page. But i want the manager to search through the list of pages select which ever check box and click accept once
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nadineatwaroo is offline Offline
5 posts
since Jan 2009
Feb 26th, 2009
0

Re: keeping checkbox check when page changes

i am navigating by clickin on the page numbers not the browser back button.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nadineatwaroo is offline Offline
5 posts
since Jan 2009
Feb 26th, 2009
0

Re: keeping checkbox check when page changes

Would it be possible for you to just update the value in the database that's bound to the checkbox on the paging event?
Reputation Points: 23
Solved Threads: 10
Light Poster
bcasp is offline Offline
45 posts
since Apr 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: pannel controle intansic controle in asp.net
Next Thread in ASP.NET Forum Timeline: Verifyurl problem.. aspx





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC