.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Select All CheckBox

Posted By: Aamrapali Tamgadge     Posted Date: February 17, 2011    Points:2   Category :ASP.Net
Hi.. Me having Gridview in dat i hav checkboxes..In gridview ,page enbling is true..i have tried it to select all the checkboxex but it ges slect all d Chk at one page index wen i move to next one i have to select it twice..I want it dat wen i click on select all it gets select all the rows in gridview,instead no need to go to each page index..

Author: Lakhan Pal Garg             
Posted Date: February 20, 2011     Points: 5   

Hi Amrapali,
One thing you can check is keep the value weather you want to select all or not in a hidden field.
now on item data bound event check the value of hidden field and mark the checkbox accordingly.
Lakhan Pal Garg

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend