In my Datagrid I have added the delete linkbutton from the property builder. So, I can't find the the id or name of this link button from the HTML. Could you help as to how to find this control in order to attach a message on delete using C#. The code id pasted below:
<asp:datagrid id=dgCategorie style="Z-INDEX: 112; LEFT: 18px; POSITION: absolute; TOP: 53px" runat="server" Height="130px" Width="739px" HorizontalAlign="Center" Font-Names="Verdana" AllowPaging="True" AllowSorting="True" CellPadding="3" BackColor="White" BorderWidth="1px" BorderStyle="None" BorderColor="Black" AutoGenerateColumns="False"
<Columns>
<asp:BoundColumn DataField="Cat_Nom" HeaderText="Categorie"></asp:BoundColumn>
<asp:BoundColumn DataField="Coul_Cat" HeaderText="Couleur"></asp:BoundColumn>
<asp:BoundColumn DataField="Tmpl_Cat" HeaderText="Template"></asp:BoundColumn>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update" HeaderText="Modify" CancelText="Cancel" EditText="Edit"></asp:EditCommandColumn>
<asp:ButtonColumn Text="Delete" CommandName="Delete"></asp:ButtonColumn>
</Columns>
</asp:datagrid>