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

I want to dynamically create checkboxes on click of the button. But because of postback i could not maintain the state of previously created checkbox like its Id, value, etc. So how can i do this. if possible send the relative code.

thanks
Posted

You need the checkboxes to be there, for viewstate to work. Instead of creating them, make them visible.
 
Share this answer
 
Use the following links.. will helps you

Here

regards
 
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