asp.net - ImageButton not firing -
i have following button:
<asp:imagebutton id="imgbtneditinfo" runat="server" imageurl="~/images/editinformation.png" alternatetext="editinformation" commandname="editdetails" commandargument="<%# container.dataitemindex %>" onclick="lnkedit_click" enabled="true" /> i have following method looks not hitting method:
protected sub lnkedit_click(byval sender object, byval e system.eventargs) end sub wondering if missing something. put breakpoint on protected sub lnkedit_click on click of imagebutton not go there.
you're working data controls (gridview or datalist etc). respond button/linkbutton/imagebutton events, must have handle parent - data control's events.
Comments
Post a Comment