Loading ...

Maintain checboxes checked state in Gridview with Jquery ?

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  client side web development   » Maintain checboxes checked state in Gridview with Jquery ?

Maintain checboxes checked state in Gridview with Jquery ?

Posts under the topic: Maintain checboxes checked state in Gridview with Jquery ?

Posted: 3/2/2011

Starter 1414  points  Starter
  • Joined on: 12/1/2008
  • Posts: 66

I've a scenario where I've a Gridview control and inside it there is 1 checkbox column. Now my requirement is to maintain the state of checkboxes while moving from 1 page to another page in Gridview.

How to achieve it through J query??

Thanks in advance.

 

Regards,

Sumit Arora.


Posted: 3/2/2011

Guru 16773  points  Guru
  • Joined on: 4/19/2009
  • Posts: 490

You are working in stateless protocol. You can't do that with jQuery. One option will be sending the info from first page to other via QueryString.


Posted: 3/5/2011

Starter 1414  points  Starter
  • Joined on: 12/1/2008
  • Posts: 66

Hello Raghav,

I didn't mean to move from 1 aspx to another aspx page. By paging I meant was to move from  (Suppose there are 100 records in a gridview with PageSize property set to 10) 1st page that contains 1 to 10 records to lets say 7th page that contains records from 61 to 70.  How do I manage the state of checkboxes which I checked on 1st page and then on 7th page while moving accross diff pages in gridview..

 

Thanks,

Sumit arora


Posted: 3/5/2011

Guru 16773  points  Guru
  • Joined on: 4/19/2009
  • Posts: 490
  Answered

This person has written on that topic:

http://aspdotnet-suresh.blogspot.com/2010/04/maintaining-state-of-checkboxes-while.html

If that link doesn't help you, you can again comment here.


Page 1 of 1 (4 items)