Click here to Skip to main content
15,900,108 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, All

Here i have some problem with Grid in asp.net, i'm using gridview inside of updatepanel with check box when i have lot of date to clicked in last checkbox it will checked but it going to top of the grid how to avoid it...

Ex:

i'm having ten check box in gridview when i click 10th checkbox it checked but it gone to top of the grid....

Thanks...
Posted
Comments
[no name] 3-Sep-14 8:45am    
share ur code
ClimerChinna 3-Sep-14 8:52am    
Post the code which you have tried so that we can try to find what's the problem is

1 solution

you have used grid inside update panel and autopostback property of checkbox is true so every time when you are clicking checkbox then complete gridview will be postback to server.

to avoid postback set the autopostback property of check box to false and use ajax to complete action of checkbox.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900