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

Dynamic addition of animation extender to panel

$
0
0

Hello everyone!

I've got a problem. :)

 I'm dynamically creating 20 panels. I need to add animation extender for each panel before adding it to controls. It's easy to add it using smart tag on aspx page, but I have to do it in .cs file.

So in my C# file I have:

Panel panel=new Panel();
AjaxControlToolkit.AnimationExtender AE=new AjaxControlToolkit.AnimationExtender();

AE.Animations.Insert(0, "<OnMouseOver><FadeOut Duration='0.5' minimumOpacity='0.7'></FadeOut></OnMouseOver>"); //I'm not sure in this line too :(

There is a similar thread, but I still have problems..

http://forums.asp.net/t/1718903.aspx/1?Add+the+ajax+animation+extender+dynamically

Thank you very much for your answers!
p.s sorry for my english ;) 


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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