J
John Dalberg
I am trying to attach a javascript to a ButtonColumn in each row in a
datagrid but the buttoncolumn doesn't have a ID property. Is there a way to
use a function similar to findcontrol where I find the buttoncolumns in
the code behind?
I am trying to avoid the syntax below because it's not dynamic.
WebControl button = (WebControl) e.Item.Cells[0].Controls[0];
datagrid but the buttoncolumn doesn't have a ID property. Is there a way to
use a function similar to findcontrol where I find the buttoncolumns in
the code behind?
I am trying to avoid the syntax below because it's not dynamic.
WebControl button = (WebControl) e.Item.Cells[0].Controls[0];