views:

131

answers:

0

I am having a problem with IE throwing an error when using update panels and forms. Everything works fine except I have a "Reset" Button that clears all the form fields using javascript and then should update the panel (with the blank search terms). Firefox doesn't have a problem with this, but IE is giving me a Invalid callback or postback error. The reset button is registered as an AsyncPostBackTrigger for the update panel, and here is the button:

<asp:Button ID="ResetButton" runat="server" Text="Reset / View All" OnClientClick="document.aspnetForm.reset()" />

All the reset button does is clear the form with the javascript and re-binds the data in its click event. Clearing the form manually and clicking search works fine. How can I get this fixed? I CANNOT turn off event validation. Thanks.