HighTechTalks DotNet Forums  

Capturing statechange of Boolean column in DataGrid

Dotnet Data Tools microsoft.public.dotnet.datatools


Discuss Capturing statechange of Boolean column in DataGrid in the Dotnet Data Tools forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Sheikh Nabeel Moeen
 
Posts: n/a

Default Capturing statechange of Boolean column in DataGrid - 01-27-2005 , 02:31 AM






Hi,
I have a dataGrid with several boolean columns (that show up as
checkboxes).
How can i capture hte even when the user clicks a checkbox to change its
state (and get the current state of that checkbox)?

Regards,
Nabeel

Reply With Quote
  #2  
Old   
Manasvin (AT) msnews (DOT) microsoft.com
 
Posts: n/a

Default Re: Capturing statechange of Boolean column in DataGrid - 02-09-2005 , 05:09 AM






you may need to render the checkbox control using template columns. Use the
autopostback=true. and the attributes collections (ofcourse you need to
insert the record key and the column name, in named attributes) to get the
right value and you should have an event raised everrytime a value changes.
This is bandwidth intensive though.


"Sheikh Nabeel Moeen" <nabeelmoeen (AT) hotpop (DOT) com> wrote

Quote:
Hi,
I have a dataGrid with several boolean columns (that show up as
checkboxes).
How can i capture hte even when the user clicks a checkbox to change its
state (and get the current state of that checkbox)?

Regards,
Nabeel



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.