New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Form Will not Submit after RadConfirm in Firefox


After showing a RadConfirm dialog, the form will not submit in FireFox when form.submit() is called or the .click() method of a RadButton does not initiate the postback as expected. This also applies for RadAlert and RadPrompt.


This problem stems from a browser bug/limitation related to removing an input with JavaScript. You can read more about this issue in the submit fails after input is removed from form (in Firefox) StackOverflow thread.

RadConfirm contains an input element because its rendering is based on a RadWindow. This input is dynamically generated with JavaScript when the RadConfirm is shown and then removed from the DOM when the RadConfirm closes (the entire RadConfirm is disposed at this point). This causes a removal of an input element which breaks the form submission in Firefox.


Avoid using form.submit() and initiate the postback from a button. You can find examples in the Button - Confirm Postback (see the RadConfirm function in scripts.js) and Window - Confirm Dialog Integration live demos. If the form submission was not initiated by a button click, you can add a button that you can hide with CSS.

You can also try using the Classic RenderMode of the RadWindowManager because it does not use <button> elements but <a> elements to generate the buttons in the RadAlert/RadConfirm.

In this article