Question about UpdatePanelAnimationExtender

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>
 
B

bruce barker

the update panel does not support the login control. if you read the
docs you will see you need to convert the login to template control and
disable client script validation.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top