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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -