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

Top 5 Contributors of the Month

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

how to maintain state of checkbox on reload of page

Posted By: jay     Posted Date: April 23, 2010    Points:2   Category :ASP.Net
hi in my page i want to maintain the state of checkbox on reload
i.e. if checkbox is checked on reload it should be checked.

so how can i do it.. shall i use asp checkbox or html check box

Author: Kirtan             
Posted Date: April 23, 2010     Points: 5   

make sure you have made the AutoPostBack Property of check box to true ..

and if you programatically changing the state you should code like below

checkbox1.Checked = true;

Author: Clintonzz             
Posted Date: April 23, 2014     Points: 20   

I conceive this piece of material towards checkbox state would be of some help:


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