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..
Thank you for your answer Ramesh!
But in your message there is only information about the basics of using ajaxtoolkit. But I want to know how to bind panel with animation extender on C#.
IldarRavilov
Member
1 Points
3 Posts
Dynamic addition of animation extender to panel
Nov 05, 2012 06:18 PM|LINK
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:
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 ;)
RameshRajend...
Star
7983 Points
2099 Posts
Re: Dynamic addition of animation extender to panel
Nov 05, 2012 06:42 PM|LINK
Hai
Please refer
http://www.ehow.com/how_12018908_animationextender-tutorial.html
http://web.bearsols.com/development-design/javascript/using-the-animationextender-component-in-ajax-control-toolkit-act-by-jayaram-krishnaswamy
Thank u
IldarRavilov
Member
1 Points
3 Posts
Re: Dynamic addition of animation extender to panel
Nov 05, 2012 07:18 PM|LINK
Thank you for your answer Ramesh!
But in your message there is only information about the basics of using ajaxtoolkit. But I want to know how to bind panel with animation extender on C#.
Something like:
panel1.???.???.Add(anExtender1);
chetan.sarod...
All-Star
66609 Points
11270 Posts
Re: Dynamic addition of animation extender to panel
Nov 06, 2012 02:34 AM|LINK
here is one good example for adding the Dynamic Controls.
http://geekswithblogs.net/shahed/archive/2007/04/05/110888.aspx
http://blogs.msdn.com/b/phaniraj/archive/2007/08/15/how-to-re-use-animation-extenders-in-a-page.aspx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
RameshRajend...
Star
7983 Points
2099 Posts
Re: Dynamic addition of animation extender to panel
Nov 06, 2012 05:48 AM|LINK
Hai
Look this vedios
http://www.youtube.com/watch?v=AvdKx93Ee5k
http://www.youtube.com/watch?v=FDRuDTF92Ds&feature=relmfu
Thank u
IldarRavilov
Member
1 Points
3 Posts
Re: Dynamic addition of animation extender to panel
Nov 06, 2012 08:58 PM|LINK
Thank you!
The answer is simple!