title: How to invoke AnimationExtender.onClick method from .CS?
body: <p>I'm a ASP/JS newb and having difficultly trying to do something simple.  What I want to do is have an AnimationExtender fire and produce a window with text on it that I get from a database.  </p>
  
  <p>To do this i'm trying to envoke the onClick event from my selectedIndexChanged event handler in my DGV, but I can not find anything on how to fire the onClick event from .cs.  Here is my .aspx:</p>
  
  <p>
          .style1
          {
              text-align: center;
          }
          .flyOutDiv
          {
               display: none;
               position: absolute;
               width: 400px;
               height: 500px;
               z-index: 3;
               opacity: 0;
               filter:(progid:DXImageTransform.Microsoft.Alpha(opacity=0));
               font-size: 14px;
               border: solid 1px #CCCCCC;
               background-color: #FFFFFF;
               padding: 5px;
          }   </p>
  
  <pre><code>    .flyOutDivCloseX
      {   
           background-color: #666666;
           color: #FFFFFF;
           text-align: center;
           font-weight: bold;
           text-decoration: none;
           border: outset thin #FFFFFF;
           padding: 5px; 
      }
  &lt;/style&gt;
  </code></pre>
  
  <p>
  </p>
  
  <pre><code>&lt;ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"&gt;
  &lt;/ajaxToolkit:ToolkitScriptManager&gt;
  &lt;table style ="width:1200px"; border="0";&gt;
  &lt;tr&gt;
      &lt;td align="center"&gt;
  &lt;asp:LinkButton ID="lnkBtnColHelp" runat="server" Text="Click Here" OnClientClick="return false;" /&gt;
  
      &lt;div id="moveMe" class="flyOutDiv"&gt;
        &lt;div style="float:right;"&gt;
       &lt;asp:LinkButton ID="lnkBtnCloseColHelp" runat="server" Text="X" OnClientClick="return false;" CssClass="flyOutDivCloseX"  /&gt;
        &lt;/div&gt;
          &lt;br /&gt;
               &lt;p&gt;
                  &lt;asp:label id="lbFlyByLabel" runat="server"  /&gt;
               &lt;/p&gt;                       
         &lt;/div&gt;
  
  
      &lt;!--step 3 --&gt;
  &lt;ajaxToolKit:AnimationExtender ID="AnimationExtender1" runat="server" TargetControlID="lnkBtnColHelp"&gt;
          &lt;Animations&gt;
              &lt;OnClick&gt;
                  &lt;Sequence&gt;
                      &lt;EnableAction Enabled="false"&gt;&lt;/EnableAction&gt;
  
                      &lt;StyleAction AnimationTarget="moveMe" Attribute="display" Value="block"/&gt;
                      &lt;Parallel AnimationTarget="moveMe" Duration=".5" Fps="30"&gt;
                          &lt;Move Horizontal="350" Vertical="50"&gt;&lt;/Move&gt;
                          &lt;FadeIn Duration=".5"/&gt;
                      &lt;/Parallel&gt;
                      &lt;Parallel AnimationTarget="moveMe" Duration=".5"&gt;
                           &lt;Color PropertyKey="color" StartValue="#666666" EndValue="#FF0000" /&gt;
                          &lt;Color PropertyKey="borderColor" StartValue="#666666" EndValue="#FF0000" /&gt;
                      &lt;/Parallel&gt;
                  &lt;/Sequence&gt;
              &lt;/OnClick&gt;
          &lt;/Animations&gt;
  
      &lt;/ajaxToolKit:AnimationExtender&gt;
  
      &lt;ajaxToolKit:AnimationExtender ID="AnimationExtender2" runat="server" TargetControlID="lnkBtnCloseColHelp"&gt;
  
          &lt;Animations&gt;
              &lt;OnClick&gt;
                  &lt;Sequence AnimationTarget="moveMe"&gt;
                      &lt;Parallel AnimationTarget="moveMe" Duration=".7" Fps="20"&gt;
                          &lt;Move Horizontal="-350" Vertical="-50"&gt;&lt;/Move&gt;
                          &lt;Scale ScaleFactor="0.05" FontUnit="px" /&gt;
                          &lt;Color PropertyKey="color" StartValue="#FF0000" EndValue="#666666" /&gt;
                          &lt;Color PropertyKey="borderColor" StartValue="#FF0000" EndValue="#666666" /&gt;
                          &lt;FadeOut /&gt;
                      &lt;/Parallel&gt;
                      &lt;StyleAction Attribute="display" Value="none"/&gt;
                      &lt;StyleAction Attribute="height" Value=""/&gt;
                      &lt;StyleAction Attribute="width" Value="400px"/&gt;
                      &lt;StyleAction Attribute="fontSize" Value="14px"/&gt;
                      &lt;EnableAction AnimationTarget="lnkBtnColHelp" Enabled="true" /&gt;
                  &lt;/Sequence&gt;
              &lt;/OnClick&gt;
          &lt;/Animations&gt;
  
      &lt;/ajaxToolKit:AnimationExtender&gt;
  </code></pre>
  
  <p>Thanks in advance!</p>
  
  <p>Chris</p>