DataGrid - ButtonColumn Question

0

00_CumPeeWearD12

<asp:datagrid ......>
<columns>
.........
.........
<asp:ButtonColumn Text="Delete" HeaderText="Delete"
ButtonType="PushButton" CommandName="Delete"></asp:ButtonColumn>
.....

I am using this: e.Item.Cells[4].Controls[0] to find the control in cell
[x], is there a way to find it by name?? It is not a regular button, it
doesn't have the "ID" attribute. I know there is a FindControl method, but
it doesn't help in Cells[] array.

Help...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top