I have some code like this
<asp:Button ID="cancelDummyButt" runat="server" CausesValidation="False"
Text="cancel" onclick="cancelDummyButt_Click" Enabled="True" />
(Javascript:)
buttid = '<%=cancelDummyButt.ClientID.ToString%>';
eltoclick = document.getElementById(buttid);
eltoclick.click();
The server-side code is not called. What is wrong? It goes OK until the "click". What is the best way to debug?
(This is to get the right postback from an iframe within an updatepanel)