<asp:TemplateField>"> <ItemTemplate> <asp:ImageButton ID="imgBtnUpload" OnCommand="Img_Command" CommandName="Upload" ToolTip="Enviar PDA – PDR" ImageUrl="~/Images/APUpload.png" Visible="true" runat="server"/> <asp:ImageButton ID="imgBtnProcessado" OnCommand="Img_Command" CommandName="Processado" ToolTip="Lote já processado!" ImageUrl="~/Images/loteProcessado.png" Visible="false"runat="server"/> </ItemTemplate> </asp:TemplateField>">
protected void Img_Command(object sender, CommandEventArgs eArgs) { GridView gdv = (GridView)sender; switch (eArgs.CommandName) { case "Atualizar": break; case "Upload": BtnUpload(0); break; case "Processado": break; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)