S
sathya
hi all,
i am creating datagrid , i have added button column in my datagrid ,but
the event for button column is not fired.
i have added buttoncolumn to datagrid as shown below:
ButtonColumn bs = new ButtonColumn();
bs.Text = "select";
bs.ButtonType = ButtonColumnType.PushButton;
DataGrid1.Columns.Add(bs);
i have also writted eventhandler function to handle the click of
button as shown:
private void ds_ItemCommand(object source, DataGridCommandEventArgs e)
{
Page.Response.Write("Test");
}
but the event is nor fired...
please help me in this regard
thanks in advance.
regards
sathya narayanan v
i am creating datagrid , i have added button column in my datagrid ,but
the event for button column is not fired.
i have added buttoncolumn to datagrid as shown below:
ButtonColumn bs = new ButtonColumn();
bs.Text = "select";
bs.ButtonType = ButtonColumnType.PushButton;
DataGrid1.Columns.Add(bs);
i have also writted eventhandler function to handle the click of
button as shown:
private void ds_ItemCommand(object source, DataGridCommandEventArgs e)
{
Page.Response.Write("Test");
}
but the event is nor fired...
please help me in this regard
thanks in advance.
regards
sathya narayanan v