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!
>
>
>
|