Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Checkboxes disabled at runtime

Thread Tools

Checkboxes disabled at runtime

Posts: n/a
The goal of this section of the app is to have a datagrid that displays rows
to the user who will then select which rows he wishes to continue the process

The Grid containing all choices to select from is bound to a datatable with
a column that isn't databased, but generated by code with the boolean

When I bind to this DataTable, all of the Checkboxes are disabled.

Due to research, I discovered that all of the rows of the gridview are
ReadOnly by default, thus disabled. I have tried a plethora of things to
Enable these checkboxes for ALL rows during PreRender.

How can I pragmatically get the GridView to honor a non-readonly state for
all GridViewRows automatically at page load?!?!!! The checkboxes are just for
SELECTION of multiple records, NOT editing the record's data. It's a Virtual
column bound to a virtual dataset that merely needs to live in state through
a single postback.

If you've run into any problem like this.. Please help, I'm Desperate.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabled radio buttons and checkboxes are hard to see BillE ASP .Net 2 11-13-2007 01:12 PM
Simplifying disabled checkboxes code Javascript 1 08-05-2006 01:26 AM
q - how to reenable disabled checkboxes in a form shree Javascript 10 07-15-2005 03:22 PM
Checkboxes disabled at runtime =?Utf-8?B?TWlrZSBEcmFwZXI=?= ASP .Net 0 04-28-2005 06:30 PM
Re: Disabled panels reset checkboxes Alvin Bruney [MVP] ASP .Net 2 07-28-2004 08:24 PM