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

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -