Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > DataGrid template column help!!!

Reply
Thread Tools

DataGrid template column help!!!

 
 
X-Men
Guest
Posts: n/a
 
      06-08-2004
I am adding a CheckBox / CommandButton into the header row of a DataGrid
Template Column and want to make the CheckBox / CommandButton respond to
click event as they usually do. But soon I find once these controls are
binded to a template column, Visual Studio no longer supports the event
handling....... Any thoughts?


Thanks!



 
Reply With Quote
 
 
 
 
Raterus
Guest
Posts: n/a
 
      06-08-2004
Any events fired by controls like these go through the ItemCommand event handler of the datagrid, check that out. You can set commandname/commandargument of certain controls to get which one was clicked.

"X-Men" <> wrote in message news:%...
> I am adding a CheckBox / CommandButton into the header row of a DataGrid
> Template Column and want to make the CheckBox / CommandButton respond to
> click event as they usually do. But soon I find once these controls are
> binded to a template column, Visual Studio no longer supports the event
> handling....... Any thoughts?
>
>
> 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
setting Column width of Template Column in Datagrid.. Charleees ASP .Net 2 06-20-2006 12:52 PM
bind a dropdown in a column in a datagrid based on the dropdown value selected in another column of the datagrid. vishnu ASP .Net 1 03-25-2006 01:24 PM
DataGrid loses view state if first column is a template column. Ken Varn ASP .Net 1 08-19-2005 02:54 PM
how to know if a datagrid column is a template column? Dexter ASP .Net 1 01-18-2005 01:45 PM
Bound Column or Template Column (w dAdapater?) in DataGrid Ravichandran Mahalingam ASP .Net Datagrid Control 0 01-09-2004 03:30 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