<?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: Trigger Animation</title><link>http://forums.asp.net/thread/1410748.aspx</link><pubDate>Tue, 26 Sep 2006 20:03:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1410748</guid><dc:creator>Ted Glaza [MSFT]</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1410748.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1410748</wfw:commentRss><description>&lt;font face="verdana,geneva"&gt;Hi Mattias,&lt;br /&gt;&lt;br /&gt;No, the code example you were quoting wouldn&amp;#39;t work if you had a &lt;font face="courier new,courier"&gt;TextBox&lt;/font&gt; in an &lt;font face="courier new,courier"&gt;INamingContainer&lt;/font&gt;.&amp;nbsp; We&amp;#39;d like to make some improvements for scenarios like this in the future, but for now there is a workaround available.&amp;nbsp; You can programatically modify the animations on the server like 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;br /&gt;&amp;lt;&lt;span class="tag"&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;        // Set the ConditionScript property of the OnClick Animation&lt;br /&gt;        MyAnimations.OnClick.Properties[&amp;quot;ConditionScript&amp;quot;] = string.Format(&amp;quot;( $(&amp;#39;{0}&amp;#39;).value == &amp;#39;&amp;#39; )&amp;quot;, txtName.ClientID);&lt;br /&gt;        &lt;br /&gt;        // Set the AnimationTarget property of the OnClick Animation&amp;#39;s first child&lt;br /&gt;        MyAnimations.OnClick.Children[0].Properties[&amp;quot;AnimationTarget&amp;quot;] = txtName.ClientID;&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; 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; 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;    Name: &amp;lt;&lt;span class="tag"&gt;asp:TextBox&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;txtName&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;br&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;btnValidate&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;Animate If Empty&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;btnValidate&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;            &amp;lt;&lt;span class="tag"&gt;Animations&lt;/span&gt;&amp;gt;&lt;br /&gt;                &amp;lt;&lt;span class="tag"&gt;OnClick&lt;/span&gt;&amp;gt;&lt;br /&gt;                    &amp;lt;&lt;span class="tag"&gt;Condition&lt;/span&gt;&lt;span class="attr"&gt; ConditionScript=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;/* To be filled in by the server - we&amp;#39;ll default to false */ false&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;                        &amp;lt;&lt;span class="tag"&gt;Color&lt;/span&gt;&lt;span class="attr"&gt; Duration=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; StartValue=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;#FFFFFF&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; EndValue=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;#FF0000&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span class="attr"&gt;                            Property=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;style&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; PropertyKey=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;backgroundColor&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;                    &amp;lt;/&lt;span class="tag"&gt;Condition&lt;/span&gt;&amp;gt;&lt;br /&gt;                &amp;lt;/&lt;span class="tag"&gt;OnClick&lt;/span&gt;&amp;gt;&lt;br /&gt;            &amp;lt;/&lt;span class="tag"&gt;Animations&lt;/span&gt;&amp;gt;&lt;br /&gt;        &amp;lt;/&lt;span class="tag"&gt;atlasToolkit:AnimationProperties&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;Thanks,&lt;br /&gt;Ted&lt;br /&gt;&lt;/font&gt;</description></item><item><title>Re: Trigger Animation</title><link>http://forums.asp.net/thread/1408146.aspx</link><pubDate>Sat, 23 Sep 2006 11:35:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1408146</guid><dc:creator>mattiasj</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1408146.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1408146</wfw:commentRss><description>&lt;p&gt;Hi Ted,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m not 100% sure I understand your answer. Will the code below work if the TextBox is in a naming container (and therefore has that long munged ClientID) or not? If not, how do I make it work, because TextBoxes are almost always in naming containers in any reasonably complex application. I havent figured out how the heck to get the ClientID into the &lt;em&gt;ConditionScript &lt;/em&gt;attribute of the &lt;em&gt;Condition &lt;/em&gt;tag.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;/Mattias&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div&gt;&lt;img src="http://forums.asp.net/Themes/default/images/icon-quote.gif" /&gt; &lt;strong&gt;Ted Glaza [MSFT]:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="verdana,geneva"&gt;Hi Marinus/Mattias,&lt;br /&gt;&lt;br /&gt;I think the best thing to do, as Mattias suggests, is to use the &lt;font face="courier new,courier"&gt;&lt;a href="http://atlas.asp.net/atlastoolkit/Walkthrough/AnimationReference.aspx#ConditionAnimation"&gt;ConditionAnimation&lt;/a&gt;&lt;/font&gt;.&amp;nbsp; This will let you decide whether or not to play the animation by running a little bit of JavaScript.&amp;nbsp; Assuming your &lt;font face="courier new,courier"&gt;TextBox&lt;/font&gt; has an &lt;font face="courier new,courier"&gt;ID=&amp;quot;TextBox1&amp;quot;&lt;/font&gt; (and isn&amp;#39;t in a &lt;a href="http://forums.asp.net/thread/1293293.aspx#18"&gt;naming container&lt;/a&gt; - but if it is, then its &lt;font face="courier new,courier"&gt;ClientID,&lt;/font&gt; which is the munged&amp;nbsp;&lt;font face="courier new,courier"&gt;ID&lt;/font&gt; of your server control when written to the client, will look something like &lt;font face="courier new,courier"&gt;ctl00_MyPanel1_TextBox1&lt;/font&gt;), you could define your animation as:&lt;br /&gt;&lt;font face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Animations&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;OnClick&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="verdana,geneva"&gt;&lt;font face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%-- Compared TextBox1.value to 2 single quote&amp;nbsp;signs, not a double quote, to see if it&amp;#39;s empty&amp;nbsp;--%&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Condition ConditionScript=&amp;quot;$(&amp;#39;TextBox1&amp;#39;).value == &amp;#39;&amp;#39;&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . &amp;lt;%--&amp;nbsp;Original animation&amp;nbsp;markup here --%&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="verdana,geneva"&gt;&lt;font face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/Condition&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/OnClick&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Animations&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;If you really do want to invoke the animation from the server, then you could emit code server side to interact with the Toolkit (as discussed in &lt;a href="http://forums.asp.net/post/1391514.aspx"&gt;this post&lt;/a&gt;) that will play the animation (as discussed &lt;a href="http://forums.asp.net/thread/1401941.aspx"&gt;here&lt;/a&gt;&amp;nbsp;- and each animation, like &lt;font face="courier new,courier"&gt;OnClick&lt;/font&gt;, &lt;font face="courier new,courier"&gt;OnMouseOver&lt;/font&gt;, etc., has it&amp;#39;s own function you can call to invoke it).&amp;nbsp; If this doesn&amp;#39;t answer your question, please keep posting.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Ted&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Trigger Animation</title><link>http://forums.asp.net/thread/1407706.aspx</link><pubDate>Fri, 22 Sep 2006 18:13:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1407706</guid><dc:creator>Ted Glaza [MSFT]</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1407706.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1407706</wfw:commentRss><description>&lt;font face="verdana,geneva"&gt;Hi Marinus,&lt;br /&gt;&lt;br /&gt;The &lt;font face="courier new,courier"&gt;AnimationExtender&lt;/font&gt; doesn&amp;#39;t have support for playing animations from the server (mostly because they&amp;#39;re meant to be triggered from the client&amp;nbsp;and it&amp;#39;s a little weird to suggest that while the page was posting back your mouse hovered over a certain control).&amp;nbsp; Another route you might look into is &lt;a href="http://forums.asp.net/thread/1402943.aspx"&gt;creating the OnLoad animation on the server&lt;/a&gt; because that will automatically play once you post back.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Ted&lt;/font&gt;</description></item><item><title>Re: Trigger Animation</title><link>http://forums.asp.net/thread/1405879.aspx</link><pubDate>Thu, 21 Sep 2006 07:33:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1405879</guid><dc:creator>Marinus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1405879.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1405879</wfw:commentRss><description>&lt;p&gt;Ted,&lt;br /&gt;In the post about the ModalPopupExtender you wrote: &lt;br /&gt;&amp;quot;&lt;font face="Verdana"&gt;Again, we&amp;#39;re looking at making this a LOT easier with updates in our next release.&amp;quot; &lt;br /&gt;And yes, in the next release of the toolkit it was much easier. Now you just could write in your code behind:&lt;br /&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;&lt;br /&gt;ModalPopupProperties&lt;/font&gt;&lt;font size="2"&gt; popup = MyModalExtender.GetTargetProperties(Target);&lt;br /&gt;popup.Show();&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;Great! &lt;br /&gt;Does the AnimationExtender has something alike?&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Trigger Animation</title><link>http://forums.asp.net/thread/1405847.aspx</link><pubDate>Thu, 21 Sep 2006 06:49:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1405847</guid><dc:creator>Marinus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1405847.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1405847</wfw:commentRss><description>Thanks for your answer Ted, I will read the posts and try it out.</description></item><item><title>Re: Trigger Animation</title><link>http://forums.asp.net/thread/1405549.aspx</link><pubDate>Wed, 20 Sep 2006 23:41:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1405549</guid><dc:creator>Ted Glaza [MSFT]</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1405549.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1405549</wfw:commentRss><description>&lt;p&gt;&lt;font face="verdana,geneva"&gt;Hi Marinus/Mattias,&lt;br /&gt;&lt;br /&gt;I think the best thing to do, as Mattias suggests, is to use the &lt;font face="courier new,courier"&gt;&lt;a href="http://atlas.asp.net/atlastoolkit/Walkthrough/AnimationReference.aspx#ConditionAnimation"&gt;ConditionAnimation&lt;/a&gt;&lt;/font&gt;.&amp;nbsp; This will let you decide whether or not to play the animation by running a little bit of JavaScript.&amp;nbsp; Assuming your &lt;font face="courier new,courier"&gt;TextBox&lt;/font&gt; has an &lt;font face="courier new,courier"&gt;ID=&amp;quot;TextBox1&amp;quot;&lt;/font&gt; (and isn&amp;#39;t in a &lt;a href="http://forums.asp.net/thread/1293293.aspx#18"&gt;naming container&lt;/a&gt; - but if it is, then its &lt;font face="courier new,courier"&gt;ClientID,&lt;/font&gt; which is the munged&amp;nbsp;&lt;font face="courier new,courier"&gt;ID&lt;/font&gt; of your server control when written to the client, will look something like &lt;font face="courier new,courier"&gt;ctl00_MyPanel1_TextBox1&lt;/font&gt;), you could define your animation as:&lt;br /&gt;&lt;font face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Animations&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;OnClick&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="verdana,geneva"&gt;&lt;font face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%-- Compared TextBox1.value to 2 single quote&amp;nbsp;signs, not a double quote, to see if it&amp;#39;s empty&amp;nbsp;--%&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Condition ConditionScript=&amp;quot;$(&amp;#39;TextBox1&amp;#39;).value == &amp;#39;&amp;#39;&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . &amp;lt;%--&amp;nbsp;Original animation&amp;nbsp;markup here --%&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="verdana,geneva"&gt;&lt;font face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/Condition&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/OnClick&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Animations&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;If you really do want to invoke the animation from the server, then you could emit code server side to interact with the Toolkit (as discussed in &lt;a href="http://forums.asp.net/post/1391514.aspx"&gt;this post&lt;/a&gt;) that will play the animation (as discussed &lt;a href="http://forums.asp.net/thread/1401941.aspx"&gt;here&lt;/a&gt;&amp;nbsp;- and each animation, like &lt;font face="courier new,courier"&gt;OnClick&lt;/font&gt;, &lt;font face="courier new,courier"&gt;OnMouseOver&lt;/font&gt;, etc., has it&amp;#39;s own function you can call to invoke it).&amp;nbsp; If this doesn&amp;#39;t answer your question, please keep posting.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Ted&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Trigger Animation</title><link>http://forums.asp.net/thread/1405309.aspx</link><pubDate>Wed, 20 Sep 2006 19:10:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1405309</guid><dc:creator>mattiasj</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1405309.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1405309</wfw:commentRss><description>Alternatively, tell us how to get the IDs of server controls into ConditionScript.&lt;br /&gt;</description></item><item><title>Re: Trigger Animation</title><link>http://forums.asp.net/thread/1405304.aspx</link><pubDate>Wed, 20 Sep 2006 19:06:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1405304</guid><dc:creator>mattiasj</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1405304.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1405304</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Seconded!!&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Yes, god please, someone tell me how this is done.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Trigger Animation</title><link>http://forums.asp.net/thread/1404966.aspx</link><pubDate>Wed, 20 Sep 2006 13:57:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1404966</guid><dc:creator>Marinus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1404966.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1404966</wfw:commentRss><description>&lt;p&gt;Like most of the ToolkitExtensions the AnimationExtension is connected to a TargetId, mostly a button.&lt;br /&gt;But how could I trigger an animation in my codebehind. Say I check the text in a TextBox. How could I then start the animation. I tried &lt;font size="2"&gt;RegisterStartupScript, but I can&amp;#39;t get it right.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;font color="#000080" size="2"&gt;protected&lt;/font&gt;&lt;/strong&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;strong&gt;&lt;font color="#000080" size="2"&gt;void&lt;/font&gt;&lt;/strong&gt;&lt;font size="2"&gt; Button1_Click(&lt;/font&gt;&lt;strong&gt;&lt;font color="#000080" size="2"&gt;object&lt;/font&gt;&lt;/strong&gt;&lt;font size="2"&gt; sender, &lt;/font&gt;&lt;font color="#008080" size="2"&gt;EventArgs&lt;/font&gt;&lt;font size="2"&gt; e)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; if (TextBox1.Text == &amp;quot;&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Show my animation&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;}&lt;br /&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;</description></item></channel></rss>