vinuramdas
asked on
Datagrid with buton
hi all,
I am doing a ASP.Net application. i ahve a datagrid with one colmn with image button. when i click on this image button , i want to know the row number, so that i can identify which button has clicked.
here is my code
<asp:datagrid>
<columns>
<ASP:TEMPLATECOLUMN>
<ITEMSTYLE Width="100px"></ITEMSTYLE>
<ITEMTEMPLATE>
<asp:ImageButton id="imgbtEdit" onclick="imgbtEdit_click" runat="server" ImageUrl="Images/EditIcon. gif"></asp :ImageButt on>
</ITEMTEMPLATE>
</ASP:TEMPLATECOLUMN>
</columns>
<asp:datagrid>
thnaks in advance
Vinu
I am doing a ASP.Net application. i ahve a datagrid with one colmn with image button. when i click on this image button , i want to know the row number, so that i can identify which button has clicked.
here is my code
<asp:datagrid>
<columns>
<ASP:TEMPLATECOLUMN>
<ITEMSTYLE Width="100px"></ITEMSTYLE>
<ITEMTEMPLATE>
<asp:ImageButton id="imgbtEdit" onclick="imgbtEdit_click" runat="server" ImageUrl="Images/EditIcon.
</ITEMTEMPLATE>
</ASP:TEMPLATECOLUMN>
</columns>
<asp:datagrid>
thnaks in advance
Vinu
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER