c# - Inside Grid view Image Button is not firing using an ASP.NET Web form -
inside grid view image button not firing using asp.net web form. if use asp button, working button , easy adding.
below design code of grid view button.
<footertemplate> <asp:imagebutton id="imgbtnadd" runat="server" commandname="addnew" imageurl="~/imgs/grid_add.png" tooltip="click here add" causesvalidation="true" validationgroup="team_involved_directly" /> <%-- <asp:button id="button1" runat="server" text="add" commandname="addnew" causesvalidation="true" validationgroup="team_involved_directly" tooltip="click here add" />--%> </footertemplate>
if use above commented button working fine, image button giving issue. , used !page.ispostback
in page load.
have tried 'onclick' method button tag?
Comments
Post a Comment