c# - Using button as link that executes javascript prevents OnClick from working -
i using button link because when button pressed opens popup of in line html using javascript (http://www.enthropia.com/labs/ibox/):
<a href="#inner_content" rel="ibox&width=800&height=400" title="search non scrum stories"><asp:button id="searchbutton" runat="server" text="search stories" onclick="searchbutton_click" /></a>
however, prevents onclick c# executing when press button. how fix this?
i suggest code
<a href="#inner_content" rel="ibox&width=800&height=400" title="search non scrum stories"> </a> <asp:button id="searchbutton" runat="server" text="search stories" onclick="searchbutton_click" />
david must separate html link , button (it's not xaml)
Comments
Post a Comment