The description of the problem does not work, which is more suitable for people who do not know / do not care about how the computer works, and not about software developers. Software developers usually accurately describe the problem they are facing. They send the exact stack stack error / exception message that they have.
It is said that you ask for alternative solutions, here are mine: do not use MS Ajax.* helpers , use jquery directly and unobtrusively like this
<script type="text/javascript"> $(function () { $('#confirmation').hide(); $('form').submit(function() { $('#confirmation').show('slow'); $(this).hide('slow'); return false; }); }); </script> @using (Html.BeginForm()) { <fieldset id="contactForm"> <legend>Message</legend> <p> @Html.Label("Email", "Email"): @Html.TextBox("Email") </p> <p> @Html.Label("Subject", "Subject"): @Html.TextBox("Subject") </p> <p> @Html.Label("Message", "Message"): @Html.TextArea("Message") </p> <p> <input type="submit" value="Send" /> </p> </fieldset> } <p id="confirmation"> Thanks!!! </p>
Notice that the confirmation element has been taken out of the form from the form.
source share