asp.net Wizard control strange issue
<p>Update:</p>

<p>There was actually a hidden panel with validator in the user control that was causing page not to be valid on the first postback. Consider this issue resolved.</p>

<p>This is first time I am using this control and it is behaving rather strange. I have to click on the "Next" button twice for it to move to the next step. I tried explicitly setting active index, using MoveTo etc. Nothing works. Here is the markup for the control. Anybody has any ideas why?</p>

<pre><code> &lt;asp:Wizard ID="UserWizard" runat="server" ActiveStepIndex="0"
         StartNextButtonImageUrl = "~/App_Themes/Default/images/buttons/continue.gif" StartNextButtonType="Image"
        StepNextButtonType="Image" StepNextButtonImageUrl="~/App_Themes/Default/images/buttons/continue.gif"
        FinishPreviousButtonImageUrl="~/App_Themes/Default/images/buttons/back.gif"
        FinishPreviousButtonType="Image" FinishCompleteButtonImageUrl="~/App_Themes/Default/images/buttons/save.gif"
        FinishCompleteButtonType="Image" CancelButtonType="Image" CancelButtonImageUrl="~/App_Themes/Default/images/buttons/back.gif"
        DisplaySideBar="false" &gt;
        &lt;WizardSteps&gt;
            &lt;asp:WizardStep Title="User Profile" ID="UserProfile" runat="server"&gt;
                &lt;uhc:ctlUserProfileEdit ID="ctlUserProfileEdit" runat="server"&gt;
                &lt;/uhc:ctlUserProfileEdit&gt;
                &lt;br clear="all" /&gt;
                &lt;div&gt;
                    &lt;asp:ImageButton ID="cmdResetPassword" runat="server" ImageUrl="~/App_Themes/Default/images/buttons/resetpassword.gif" /&gt;
                &lt;/div&gt;
                &lt;div&gt;
                    &lt;asp:UpdatePanel ID="upSchools" runat="server" ChildrenAsTriggers="true"&gt;
                        &lt;ContentTemplate&gt;
                            &lt;uhc:ctlSchoolLocationSelector ID="ctlSchoolLocationSelector" runat="server" /&gt;
                        &lt;/ContentTemplate&gt;
                    &lt;/asp:UpdatePanel&gt;
                &lt;/div&gt;
            &lt;/asp:WizardStep&gt;
            &lt;asp:WizardStep Title="Roles" ID="Roles" runat="server"&gt;
                &lt;uhc:ctlPermissionInternal ID="ctlPermissionInternal1" runat="server"&gt;&lt;/uhc:ctlPermissionInternal&gt;
                &lt;uhc:ctlPermissionExternal ID="ctlPermissionExternal1" runat="server"&gt;&lt;/uhc:ctlPermissionExternal&gt;
            &lt;/asp:WizardStep&gt;
        &lt;/WizardSteps&gt;
    &lt;/asp:Wizard&gt;
</code></pre>
