Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Capturing checked event for Template based checkbox.

Reply
Thread Tools

Capturing checked event for Template based checkbox.

 
 
JemPower
Guest
Posts: n/a
 
      10-30-2003
Getting to grips with the datagrid better than I thought, however I've hit
another problem which hopefully someone will be able to help (again.)

I have my grid populated, and in the first column a series of checkboxes.

What I want to do, is when the user checks a checkbox, it highlights the
entire row a different colour. However I can't seem to be able to capture
which checkbox the user has hit.

There's an event called "OnCheckedChanged" which I presume is the answer,
but I can't see any documentation regarding this in the BOL.

Likewise, I don't know whether this event is automatically captured, or if
I'd need to set the checkbox to autopostback=true.

Anyone got any ideas on this?

Many thanks


 
Reply With Quote
 
 
 
Reply

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
Event-based stdout content capturing Daniel Vartanov Ruby 2 02-04-2009 05:22 AM
CheckBox Checked=false when checked in DataList yurps ASP .Net 1 02-29-2008 01:08 PM
capturing checkbox.checked in repeater control =?Utf-8?B?QW5kcmV3?= ASP .Net 2 08-23-2005 11:42 AM
CheckBox template always evaluate to False even if checked in a DataGrid hosted inside a TabStrip mehul ASP .Net 0 05-03-2004 12:07 PM
Capturing an event within a template column sqlboy2000 ASP .Net 0 11-24-2003 06:05 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57