Re: Enabled checkboxes in gridview control



Thanks a lot for your quick reply!!


David Wier wrote:
Sure you can -- check out this code sample at ASPNet101.com:
http://aspnet101.com/aspnet101/aspnet/codesample.aspx?code=GridViewCheck

Once the checkboxes are checked - then, you can create a function/sub to go
through each row, and for each one that has a checkbox actually checked, you
can do anything you want to or for that row.
--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com

<deepa.ravikiran@xxxxxxxxx> wrote in message
news:1166899469.160158.113450@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I am trying to create a ASPX page which will list items with a checkbox
beside each. The user has to be able to select items using the checkbox
to do some further processing. If I use a gridview control, the
checkboxes are all disabled, and I find that I have to have a Edit
button for each row, and after clicking the Edit button, the row check
box gets enabled.

Is there any way that I can use the Gridcontrol (or any other ASPX web
control) to display items with enabled checkboxes without having the
user to click on Edit button before he can check/uncheck the checkbox?

Or should I have to use inline scripts to generate the items and
checkboxes? Any sample codes available.

I really appreciate any help in this.

Thanks,
Deepa


.