Note that there are some explanatory texts on larger screens.

plurals
  1. POAJAX - Animation extender
    text
    copied!<p>I am using VS 2010 to create a simple animation, however run-time getting following error!!</p> <p>Please help me to proceed further !!</p> <p>Parser Error Message: The base class includes the field 'ToolkitScriptManager1', but its type (AjaxControlToolkit.ToolkitScriptManager) is not compatible with the type of control (AjaxControlToolkit.ToolkitScriptManager).</p> <p>Source Error: </p> <pre><code> &lt;form id="form1" runat="server"&gt; &lt;div&gt; &lt;asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"&gt; &lt;/asp:ToolkitScriptManager&gt; </code></pre> <p>Source File: /HomeLoggedin.aspx Line: 23 </p> <hr> <p>Source code</p> <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HomeLoggedin.aspx.cs" Inherits="TheEncyclopediaOnlineLibrary.HomeLoggedin" %&gt; &lt;%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head runat="server"&gt; &lt;title&gt;Animation&lt;/title&gt; &lt;style type="text/css"&gt; #Message { width: 250px; padding: 10px; margin-bottom:10px; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;form id="form1" runat="server"&gt; &lt;div&gt; &lt;asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"&gt; &lt;/asp:ToolkitScriptManager&gt; &lt;asp:Panel ID="Message" runat="server"&gt; Pay attention to me! &lt;/asp:Panel&gt; &lt;asp:LinkButton ID="lnkYellowFade" OnClientClick="return false;" runat="server"&gt;Play Animation&lt;/asp:LinkButton&gt; &lt;asp:AnimationExtender ID="AnimationExtender1" TargetControlID="lnkYellowFade" runat="server"&gt; &lt;Animations&gt; &lt;OnClick&gt; &lt;Sequence&gt; &lt;Color AnimationTarget="Message" Duration="2" Property="style" PropertyKey="backgroundColor" StartValue="#FFFF66" EndValue="#FFFFFF" /&gt; &lt;/Sequence&gt; &lt;/OnClick&gt; &lt;/Animations&gt; &lt;/asp:AnimationExtender&gt; &lt;/div&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload