Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Animationextender

$
0
0

Hi-

I am trying on a button click event to code programmtically an animationextender for a reason.

 

The code that follows triggers the lblMessage1 with the text assigned.  However I don't see any animation effect really, just the label showing its text. I would like to add in the Fadeout effect. Any help would be immensly appreciated!!!!

Thanks!

 

                lblMessage1.Visible = true;
                lblMessage1.Text = " New Email address updated!";
                
                AnimationExtender animExtender = new AnimationExtender();
                animExtender.ID = "ae0";
                animExtender.TargetControlID = lblMessage1.ID;

                animExtender.OnClick = new Animation();
                animExtender.OnClick.Name = "Sequence";

                Animation disableAnimation = new Animation();
                disableAnimation.Name = "EnableAction";
                disableAnimation.Properties["Enabled"] = "false";

                animExtender.OnClick.Children.Add(disableAnimation);
                Page.Form.Controls.Add(animExtender); 

 


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>