Ask a Question related to ASP.NET General, Design and Development.
-
Northern #1
How to use ButtonColumn to select a Datagrid row?
I am having problem select a row from datagrid. According
to the doc, the standard way of doing this is to add
ButtonColumn to the grid and have a event handler do the
work. I added this ButtonColumn and have a method linked
to the button click event. All these are fine. My only
problem is that the event handler only take arguments as:
ByVal sender As Object, ByVal e As System.EventArgs
as oppose to:
ByVal oSource As Object, ByVal oArgs As
DataGridCommandEventArgs
This make it impossible for me to retrive any information
about the row, since the System.EventArgs doesn't expose
those properties.
What am I doing wrong?
Thanks
Northern Guest
-
Adding a ButtonColumn to a DataGrid in a Custom Control
I am trying to add a buttoncolumn to a Datagrid I am dynamicaly adding to a custom control (code below). The Datagrid outputs fine but all of the... -
Datagrid with ButtonColumn as Last Column
Hi, I am generating datagrid columns dynamically from DataTable and want to add buttoncolumn as Last Column with image and event Handler. Based... -
Dynamic ButtonColumn in datagrid?
Hi all I've been looking at dynamicallly adding a ButtonColumn in a datagrid by implementing ITemplate. The datagrid has been designed as a... -
multiple buttonColumn in one datagrid
you can trap the itemcommand event handler and call an appropriate method. use the row index to determine which row of the grid called the event.... -
Enabling/Disabling a DataGrid ButtonColumn
Hi, I have a datagrid that has one ButtonColumn which is bound to a database field. My requirement is that when the page containing the...



Reply With Quote

