How to stop scroll on top after validation summary
<p>How to stop after validation summary scroll into top....</p>

<pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="CompassSignupForm.aspx.cs" Inherits="Register_CompassSignupForm" %&gt;

    &lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"&gt;
     &lt;link href="../css/compassstyle.css" rel="stylesheet" type="text/css" /&gt;

    &lt;/asp:Content&gt;

    &lt;asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server"&gt;
    &lt;div class="FormLabel"&gt;&lt;label for="lbCompanyName"&gt;&lt;%=Resources.Register_CompassSignupForm.lbCompanyName %&gt;*&lt;/label&gt;&lt;/div&gt;
        &lt;div class="FormColon"&gt;:&lt;/div&gt;
        &lt;div&gt;&lt;asp:TextBox ID="txtCompanyName" runat="server" MaxLength="200" /&gt; &lt;asp:RequiredFieldValidator ID="rfvCompanyName" runat="server" ValidationGroup="CompassForm" ControlToValidate="txtCompanyName" Display="None" /&gt;&lt;/div&gt;
        &lt;div class="FormSpace"&gt;&amp;nbsp;&lt;/div&gt;
        &lt;div class="FormLabel"&gt;&lt;label for="lbBizRegNum"&gt;&lt;%=Resources.Register_CompassSignupForm.lbBizRegNum %&gt;*&lt;/label&gt;&lt;/div&gt;
        &lt;div class="FormColon"&gt;:&lt;/div&gt;
        &lt;div&gt;&lt;asp:TextBox ID="txtBizRegNum" runat="server" MaxLength="100" /&gt; &lt;asp:RequiredFieldValidator ID="rfvBizRegNum" runat="server" ValidationGroup="CompassForm" ControlToValidate="txtBizRegNum" Display="None" /&gt;&lt;/div&gt;
        &lt;div class="FormSpace"&gt;&amp;nbsp;&lt;/div&gt;
        &lt;div class="FormLabel"&gt;&lt;label for="lbCompanyType"&gt;&lt;%=Resources.Register_CompassSignupForm.lbCompanyType %&gt;*&lt;/label&gt;&lt;/div&gt;
        &lt;div class="FormColon"&gt;:&lt;/div&gt;
        &lt;div&gt;&lt;asp:DropDownList ID="ddlCompanyType" runat="server" /&gt; &lt;asp:RequiredFieldValidator ID="rfvCompanyType" runat="server" ValidationGroup="CompassForm" InitialValue="" ControlToValidate="ddlCompanyType" Display="None" /&gt;&lt;/div&gt;
        &lt;div class="FormSpace"&gt;&amp;nbsp;&lt;/div&gt;
        &lt;div class="FormLabel"&gt;&lt;label for="lbIndustry"&gt;&lt;%=Resources.Register_CompassSignupForm.lbIndustry %&gt;*&lt;/label&gt;&lt;/div&gt;
        &lt;div class="FormColon"&gt;:&lt;/div&gt;
        &lt;div&gt;&lt;asp:DropDownList ID="ddlIndustry" runat="server" /&gt; &lt;asp:RequiredFieldValidator ID="rfvIndustry" runat="server" ValidationGroup="CompassForm" InitialValue="" ControlToValidate="ddlIndustry" Display="None" /&gt;&lt;/div&gt;
        &lt;div class="FormSpace"&gt;&amp;nbsp;&lt;/div&gt;

        &lt;div class = "FormLabel"&gt;&lt;label for = "lbAddress"&gt;&lt;%=Resources.Register_CompassSignupForm.lbCompanyAddress%&gt;*&lt;/label&gt;&lt;/div&gt;
        &lt;div class = "FormColon"&gt;:&lt;/div&gt;
        &lt;div&gt;&lt;asp:TextBox ID = "txtCompanyAddress" runat = "server" MaxLength = "200" TextMode="MultiLine" Width = "300px"/&gt;&lt;asp:RequiredFieldValidator ID = "rfvCompanyAddress" runat = "server" ValidationGroup = "EmployerForm" InitialValue = "" ControlToValidate
    = "txtCompanyAddress" Display = "None"&gt;&lt;/asp:RequiredFieldValidator&gt;&lt;/div&gt;
        &lt;div class = "FormSpace"&gt;&amp;nbsp;&lt;/div&gt;

        &lt;div class="FormLabel"&gt;&lt;label for="lbPostalCode"&gt;&lt;%=Resources.Register_CompassSignupForm.lbPostalCode %&gt;*&lt;/label&gt;&lt;/div&gt;
        &lt;div class="FormColon"&gt;:&lt;/div&gt;
        &lt;div&gt;&lt;asp:TextBox ID="txtPostalCode" runat="server" MaxLength="20" /&gt; &lt;asp:RequiredFieldValidator ID="rfvPostalCode" runat="server" ValidationGroup="CompassForm" ControlToValidate="txtPostalCode" Display="None" /&gt;
            &lt;asp:RegularExpressionValidator ID="regExPostalCode" runat="server" 
                ControlToValidate="txtPostalCode"&gt;&lt;/asp:RegularExpressionValidator&gt;&lt;/div&gt;
        &lt;div class="FormSpace"&gt;&amp;nbsp;&lt;/div&gt;
    &lt;asp:ValidationSummary ID="validSum" runat="server" ValidationGroup="CompassForm" DisplayMode="BulletList" /&gt;&lt;br /&gt;
    &lt;asp:Label ID="lbError" runat="server" /&gt;
</code></pre>
