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);