Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
sathya #1
DataGrid Select Button Event not fired
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
sathya Guest
-
Select button in datagrid
I have created a datagrid with a select button so that a user can select a particular row. I did this by setting the CommandName="select". And... -
datagrid as Composite control... PageIndexChanged event don't get Fired!! Pls Help
Hi I am facing a problem... I implemented DataGrid with other Controls as Composite Control. The DataGrid works fine it gets display in my... -
Button.Init? how Do I know if click event has been fired? TextBox.TextChanged event before Button.Click in a CompositeCustomControl.
Hello I have the following situation: (everything is dynamic (controls.add)) 1. Button.Init { WasButtonClickFired = true } 2.... -
datagrid select button
not sure whats happening here - i basically cutnpasted the code from a page that this code works on but the select button is just not firing any... -
DataGrid BoundColum Runtime (Event isn't fired)
I put my code in the Page Init routine as shown below and still can not get the PageIndexChanged event to fire when autogenerate columns is turned... -
Mark Fruhling #2
Re:DataGrid Select Button Event not fired
I think the button column will hook up to it's own event handler.
bs_Click(object sender, System.EventArgs e)
{
//Code Here
}
Mark Fruhling Guest



Reply With Quote

