<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET AJAX Control Toolkit</title><link>http://forums.asp.net/1022.aspx</link><description>Here's your place to discuss everything in and about the AJAX Control Toolkit</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Ted you will know this</title><link>http://forums.asp.net/thread/1932096.aspx</link><pubDate>Fri, 28 Sep 2007 15:19:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1932096</guid><dc:creator>Sanson</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1932096.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1932096</wfw:commentRss><description>Can i use ClintObjectName=&amp;quot;myLinkButton&amp;quot;, to replace the name &lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;ctl00_ContentPlaceHolder1_NotesGridView_ctl02_LinkButton1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Animations</title><link>http://forums.asp.net/thread/1441522.aspx</link><pubDate>Wed, 25 Oct 2006 21:36:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1441522</guid><dc:creator>Ted Glaza [MSFT]</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1441522.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1441522</wfw:commentRss><description>&lt;font face="verdana,geneva"&gt;Hi Fubarian,&lt;br /&gt;&lt;br /&gt;I would like to have provided a server side model that contained classes for the specific animations (mostly so we could provide intellisense), but unfortunately this limits extensibility and prevents other people from adding their own animations in the same way.&amp;nbsp; We could still create wrappers for generating specific animations, but I&amp;#39;m not sure they would be a whole lot more useful than what&amp;#39;s currently there.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Ted&lt;/font&gt;</description></item><item><title>Re: Animations</title><link>http://forums.asp.net/thread/1427925.aspx</link><pubDate>Fri, 13 Oct 2006 12:51:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1427925</guid><dc:creator>Fubarian</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1427925.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1427925</wfw:commentRss><description>&lt;p&gt;Ok, so you have to write them out, regardless if you use code behind or directly on the page.&amp;nbsp; I was hoping I was working toward a &amp;quot;cheater&amp;quot; way of doing the animations -- more specifically, envisioning adding a parameter like&amp;nbsp;a sql command...&lt;/p&gt;&lt;p&gt;param.enable = true;&lt;br /&gt;param.duration = 1.5;&lt;br /&gt;param.fadeout();&lt;br /&gt;myextender.animation.add(param);&lt;/p&gt;&lt;p&gt;Something slick like that.&amp;nbsp; Hmm...I feel a class coming on.&lt;/p&gt;</description></item><item><title>Re: Animations</title><link>http://forums.asp.net/thread/1410861.aspx</link><pubDate>Tue, 26 Sep 2006 21:58:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1410861</guid><dc:creator>Ted Glaza [MSFT]</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1410861.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1410861</wfw:commentRss><description>&lt;font face="verdana,geneva"&gt;Hi Fubarian,&lt;br /&gt;&lt;br /&gt;Yes - you can do all of this.&amp;nbsp; &lt;a href="http://forums.asp.net/Post/1410748.aspx"&gt;This post&lt;/a&gt; provides a simple example of using the &lt;font face="courier new,courier"&gt;Animation&lt;/font&gt; class.&amp;nbsp; You can get an &lt;font face="courier new,courier"&gt;Animation &lt;/font&gt;instance from your &lt;font face="courier new,courier"&gt;AnimationProperties &lt;/font&gt;(for example &lt;font face="courier new,courier"&gt;AnimationProperties.OnClick&lt;/font&gt;) and exploring it a little will show it&amp;#39;s just a simple tree structure mapped directly over the XML.&amp;nbsp; There are three important properties on &lt;font face="courier new,courier"&gt;Animation &lt;/font&gt;that you can use to programatically manipulate animations on the server.&amp;nbsp; The &lt;font face="courier new,courier"&gt;Animation.Name&lt;/font&gt; property is the text of the XML tag (i.e. it will have values like &lt;font face="courier new,courier"&gt;&amp;quot;sequence&amp;quot;&lt;/font&gt; or &lt;font face="courier new,courier"&gt;&amp;quot;fadeout&amp;quot;&lt;/font&gt;).&amp;nbsp; &lt;font face="courier new,courier"&gt;Animation.Properties&lt;/font&gt; is a dictionary that maps property names to their string values.&amp;nbsp; All properties of the XML animation element are stored in this collection (so if your markup has &lt;font face="courier new,courier"&gt;&amp;lt;OnClick&amp;gt;&amp;lt;Parallel duration=&amp;quot;.5&amp;quot;&amp;gt; ... &amp;lt;/Parallel&amp;gt;&amp;lt;/OnClick&amp;gt;&lt;/font&gt;, then&amp;nbsp; &lt;font face="courier new,courier"&gt;MyAnimationProperties.OnClick.Properties[&amp;quot;duration&amp;quot;]&lt;/font&gt; will return the value &lt;font face="courier new,courier"&gt;&amp;quot;.5&amp;quot;&lt;/font&gt;).&amp;nbsp; Finally, the &lt;font face="courier new,courier"&gt;Animation.Children&lt;/font&gt; list contains other &lt;font face="courier new,courier"&gt;Animation &lt;/font&gt;instances that represent its children.&lt;br /&gt;&lt;br /&gt;You can also use an XML string to set the animations instead of manipulating the object model, but there are a few details to note.&amp;nbsp; The &lt;font face="courier new,courier"&gt;AnimationTargetControlPropertiesBase&amp;lt;T&amp;gt;.Animations&lt;/font&gt; property is a string containing the XML found &lt;u&gt;inside&lt;/u&gt; the &lt;font face="courier new,courier"&gt;&amp;lt;Animations&amp;gt;&lt;/font&gt; tag.&amp;nbsp; You can set this on your &lt;font face="courier new,courier"&gt;AnimationProperties &lt;/font&gt;instance, but it must contain the XML for all the animations (i.e. &lt;font face="courier new,courier"&gt;&amp;lt;OnLoad&amp;gt;&lt;/font&gt;, &lt;font face="courier new,courier"&gt;&amp;lt;OnClick&amp;gt;&lt;/font&gt;, &lt;font face="courier new,courier"&gt;&amp;lt;OnMouseOver&amp;gt;&lt;/font&gt;, etc.) and must not contain a root node (i.e. &lt;/font&gt;&lt;font face="verdana,geneva"&gt;&lt;font face="courier new,courier"&gt;AnimationTargetControlPropertiesBase&lt;/font&gt;&lt;/font&gt;&lt;font face="verdana,geneva"&gt; is expecting the &lt;font face="courier new,courier"&gt;&amp;lt;Animations&amp;gt;&lt;/font&gt; tag not to be there so it adds it back).&amp;nbsp; Here&amp;#39;s an example showing how to do this:&amp;nbsp;&lt;pre class="coloredcode"&gt;&lt;font size="2"&gt;&lt;span class="dir"&gt;&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; %&amp;gt;&lt;br /&gt;&amp;lt;%@ Register Assembly=&amp;quot;AtlasControlToolkit&amp;quot; Namespace=&amp;quot;AtlasControlToolkit&amp;quot; TagPrefix=&amp;quot;atlasToolkit&amp;quot; %&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&lt;br /&gt;!DOCTYPE&lt;/span&gt; html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;&lt;span class="tag"&gt;script&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;    protected override void OnLoad(EventArgs e)&lt;br /&gt;    {&lt;br /&gt;        base.OnLoad(e);&lt;br /&gt;&lt;br /&gt;        // Hide the button, as explained in the Using Animations walkthrough&lt;br /&gt;        MyAnimations.Animations =&lt;br /&gt;            &amp;quot;&amp;lt;&lt;span class="tag"&gt;OnClick&lt;/span&gt;&amp;gt;&amp;quot; +&lt;br /&gt;            &amp;quot;  &amp;lt;&lt;span class="tag"&gt;Sequence&lt;/span&gt;&amp;gt;&amp;quot; +&lt;br /&gt;            &amp;quot;    &amp;lt;&lt;span class="tag"&gt;EnableAction&lt;/span&gt; Enabled=\&amp;quot;false\&amp;quot; /&amp;gt;&amp;quot; +&lt;br /&gt;            &amp;quot;    &amp;lt;&lt;span class="tag"&gt;Parallel&lt;/span&gt; Duration=\&amp;quot;.2\&amp;quot;&amp;gt;&amp;quot; +&lt;br /&gt;            &amp;quot;      &amp;lt;&lt;span class="tag"&gt;Resize&lt;/span&gt; Height=\&amp;quot;0\&amp;quot; Width=\&amp;quot;0\&amp;quot; Unit=\&amp;quot;px\&amp;quot; /&amp;gt;&amp;quot; +&lt;br /&gt;            &amp;quot;      &amp;lt;&lt;span class="tag"&gt;FadeOut&lt;/span&gt; /&amp;gt;&amp;quot; +&lt;br /&gt;            &amp;quot;    &amp;lt;/&lt;span class="tag"&gt;Parallel&lt;/span&gt;&amp;gt;&amp;quot; +&lt;br /&gt;            &amp;quot;    &amp;lt;&lt;span class="tag"&gt;HideAction&lt;/span&gt; /&amp;gt; &amp;quot; +&lt;br /&gt;            &amp;quot;  &amp;lt;/&lt;span class="tag"&gt;Sequence&lt;/span&gt;&amp;gt;&amp;quot; +&lt;br /&gt;            &amp;quot;&amp;lt;/&lt;span class="tag"&gt;OnClick&lt;/span&gt;&amp;gt;&amp;quot;;&lt;br /&gt;    }&lt;br /&gt;&amp;lt;/&lt;span class="tag"&gt;script&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;span class="tag"&gt;html&lt;/span&gt;&lt;span class="attr"&gt; xmlns=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&lt;/span&gt; &amp;gt;&lt;br /&gt;&amp;lt;&lt;span class="tag"&gt;head&lt;/span&gt;&lt;span class="attr"&gt; id=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Head1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;&lt;span class="tag"&gt;title&lt;/span&gt;&amp;gt;Test Page&amp;lt;/&lt;span class="tag"&gt;title&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class="tag"&gt;head&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;span class="tag"&gt;body&lt;/span&gt;&amp;gt;&amp;lt;&lt;span class="tag"&gt;form&lt;/span&gt;&lt;span class="attr"&gt; id=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Form1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;&lt;span class="tag"&gt;div&lt;/span&gt;&amp;gt;&lt;br /&gt;    &amp;lt;&lt;span class="tag"&gt;atlas:ScriptManager&lt;/span&gt;&lt;span class="attr"&gt; id=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;ScriptManager&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;    &amp;lt;&lt;span class="tag"&gt;asp:Button&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;btnClick&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Text=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Click Me&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; OnClientClick=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;return false;&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;    &lt;br /&gt;    &amp;lt;&lt;span class="tag"&gt;atlasToolkit:AnimationExtender&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;MyExtender&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;        &amp;lt;&lt;span class="tag"&gt;atlasToolkit:AnimationProperties&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;MyAnimations&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; TargetControlID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;btnClick&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;    &amp;lt;/&lt;span class="tag"&gt;atlasToolkit:AnimationExtender&lt;/span&gt;&amp;gt; &lt;br /&gt;&amp;lt;/&lt;span class="tag"&gt;div&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class="tag"&gt;form&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class="tag"&gt;body&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;span class="tag"&gt;html&lt;/span&gt;&amp;gt;&lt;/font&gt;
&lt;/pre&gt;If you have any questions or would like more clarification, just keep posting.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Ted&lt;br /&gt;&lt;/font&gt;</description></item><item><title>Animations</title><link>http://forums.asp.net/thread/1409294.aspx</link><pubDate>Mon, 25 Sep 2006 15:29:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1409294</guid><dc:creator>Fubarian</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1409294.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1409294</wfw:commentRss><description>&lt;p&gt;I posted up over here a quick comment and Ted asked that I post my question here, so I shall!&lt;/p&gt;&lt;p&gt;I was dorkin around with the new animation controls and noticed AnimationExtender, AnimationProperties, AnimationExtenderDesigner and Animation are all items I can play with in code behind -- but I&amp;#39;m not sure how to use these.&amp;nbsp; I&amp;#39;m thinking I can make a class that handles this and makes it a bit faster for me later, but are there any examples or how-to&amp;#39;s someone could throw out?&amp;nbsp; Also, is there a way to use an actual XML file to load the sequences, animation actions, etc instead of coding it to the page directly?&lt;/p&gt;</description></item></channel></rss>