J
Jim Mitchell
I have the following button column added to the datagrid. It does not seem
to trigger SelectIndexChanged.
Is there something else I have to do? Thanks in advance.
dcolumn = New System.Web.UI.WebControls.ButtonColumn
dcolumn.ButtonType = ButtonColumnType.LinkButton
dcolumn.DataTextField = "Contact"
dcolumn.HeaderText = "Contact"
dcolumn.CommandName = "Select"
dgAccountPages.Columns.Add(dcolumn)
to trigger SelectIndexChanged.
Is there something else I have to do? Thanks in advance.
dcolumn = New System.Web.UI.WebControls.ButtonColumn
dcolumn.ButtonType = ButtonColumnType.LinkButton
dcolumn.DataTextField = "Contact"
dcolumn.HeaderText = "Contact"
dcolumn.CommandName = "Select"
dgAccountPages.Columns.Add(dcolumn)