V
Victor
Hi guys
I tried to use UpdatePanelAnimationExtender in my login form. I want to hide
my asp login control after user click the login button. My problem is if the
user input the wrong username or password. I want the login control to be
display again so that the user can correct their input. but everytime the
user have the wrong input. The login control still invisible. And I got the
js error said: "Sys.ArgumentUndefinedException: Value cannot be underfined.
parameter name :id" Pls Help!!! Drive me crazy on this one~~~
The following is my code :
<asp:UpdatePanel id="pnlLoginUpdate" runat="server"
UpdateMode="Conditional">
<ContentTemplate>
<asp:Login ID="ctrlLogin"
runat="server"
DisplayRememberMe="false"
Width="422px" >
</asp:Login>
</ContentTemplate>
</asp:UpdatePanel>
<cc1:UpdatePanelAnimationExtender runat="Server" ID="test"
TargetControlID="pnlLoginUpdate">
<Animations>
<OnUpdating>
<HideAction Duration="0" Fps="30" />
</OnUpdating>
</Animations>
</cc1:UpdatePanelAnimationExtender>
<asp:UpdateProgress ID="progress1" runat="server" >
<ProgressTemplate>
<span class="panelHeader">
sign in
</span>
<div class="panelText" >
<img src="images/controls/spinner.gif">" />
Please Wait...
</div>
</ProgressTemplate>
</asp:UpdateProgress>
I tried to use UpdatePanelAnimationExtender in my login form. I want to hide
my asp login control after user click the login button. My problem is if the
user input the wrong username or password. I want the login control to be
display again so that the user can correct their input. but everytime the
user have the wrong input. The login control still invisible. And I got the
js error said: "Sys.ArgumentUndefinedException: Value cannot be underfined.
parameter name :id" Pls Help!!! Drive me crazy on this one~~~
The following is my code :
<asp:UpdatePanel id="pnlLoginUpdate" runat="server"
UpdateMode="Conditional">
<ContentTemplate>
<asp:Login ID="ctrlLogin"
runat="server"
DisplayRememberMe="false"
Width="422px" >
</asp:Login>
</ContentTemplate>
</asp:UpdatePanel>
<cc1:UpdatePanelAnimationExtender runat="Server" ID="test"
TargetControlID="pnlLoginUpdate">
<Animations>
<OnUpdating>
<HideAction Duration="0" Fps="30" />
</OnUpdating>
</Animations>
</cc1:UpdatePanelAnimationExtender>
<asp:UpdateProgress ID="progress1" runat="server" >
<ProgressTemplate>
<span class="panelHeader">
sign in
</span>
<div class="panelText" >
<img src="images/controls/spinner.gif">" />
Please Wait...
</div>
</ProgressTemplate>
</asp:UpdateProgress>