Returning to the top of the page after submitting a form with Master Pages and Ajax
<p>I have an ASP.NET 4.0 page that I'm trying to reset to the top after a form is submitted in order to display the validation summary.</p>

<p>I am using Ajax and I have a master page with the following simplified code:</p>

<pre><code> &lt;form id="Form1" runat="server" target="_top" &gt;
    &lt;asp:ScriptManager runat="server" ID="SM1" /&gt;
    &lt;asp:UpdatePanel runat="server" ID="UP1"  &gt;
        &lt;ContentTemplate&gt;
                    &lt;asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"&gt;
                    &lt;/asp:ContentPlaceHolder&gt;
        &lt;/ContentTemplate&gt;
    &lt;/asp:UpdatePanel&gt;
    &lt;/form&gt;
</code></pre>

<p>My content page looks like this:</p>

<pre><code>&lt;asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"&gt;

    &lt;asp:ValidationSummary ID="vs1" runat="server" ValidationGroup="ValidateForm" DisplayMode="BulletList"
        CssClass="ValidationSummary" ShowSummary="true" ShowMessageBox="false" /&gt;
 &lt; ... Form Field ... &gt;
 &lt; ... Form Field ... &gt;
 &lt; ... Form Field ... &gt;
 &lt; ... Form Field ... &gt;
...
 &lt; ... Form Field ... &gt;


        &lt;asp:ImageButton ID="btnSaveChanges" runat="server" ImageUrl="/Assets/Images/btn-AdminSaveChanges.png"
            ValidationGroup="ValidateForm" CausesValidation="false" OnClick="btnSaveChanges_Click" /&gt;

&lt;/asp:Content&gt;
</code></pre>

<p>What is currently happening is that when a user gets to the bottom of the form and hits the submit button, the page stays where it is and the validation summary is not visible.  I'd like to page to reset to the top when there is an error with validation.  I've tried changing the maintainscrollposition setting to false in the content pages header, but it doesn't seem to do anything.</p>

<p>Any assistance would be greatly appreciated!</p>
