solution: declare the hidden button with UseSubmitBehavior="false": this will make the button postback with the ASP.NET postback model and this should do the trick.
<div style="display:none;">
<asp:Button id="btnHidden" runat="server"
OnClick="btnHidden_Click"
UseSubmitBehavior="false"
/>
div>
No comments:
Post a Comment