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.ispostbackin page load.

have tried 'onclick' method button tag?


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -