Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making CheckBox in the GridView editable
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01310520
Message ID:
01310683
Views:
9
>If it's a bound field, then by default it will be read-only in the regular view and then if you add a edit command link it will be active when you're editing the row. If you want the checkbox to be active in the regular view you'd need to convert it to a template field and then change the checkbox enabled property in the itemtemplate. You then need to have a button to check through all the rows in the gridview to persist the checkbox values that have been changed.
>

Sounds a bit complicated for a newbie like me. To make matters worse, I'm unable to turn this field into template field in the design view (get Unspecified error if I try to do this, so I need to do so in the code).
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform