<asp:TemplateField HeaderText=" " ShowHeader="False"> <ItemTemplate> <asp:ImageButton ID="IBtnPODinfo" runat="server" Height="16px" ImageUrl="~/Resources/images/search-icon.png" onclick="IBtnPODinfo_Click1" TabIndex="1" ToolTip="List POD data" Width="25px" /> <asp:ModalPopupExtender ID="Lbtn_cash_Shipper_ModalPopupExtender" TargetControlID="IBtnPODinfo" PopupControlID="Panel5" CancelControlID="panel1Close" runat="server"> </asp:ModalPopupExtender> </ItemTemplate> </asp:TemplateField>
protected void IBtnPODinfo_Click1(object sender, ImageClickEventArgs e) { int index = ((GridViewRow)((Control)sender).NamingContainer).RowIndex; Lbl_HAWB.Text = ExtractPODGridView.Rows[index].Cells[0].Text; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)