Wednesday, April 16, 2014

(Solved) Error: Uncaught Sys.ArgumentTypeException: Sys.ArgumentTypeException: Object of type 'Sys.Extended.UI.Animation.GenericAnimationBehavior' cannot be converted to type 'Sys.UI.Behavior'. Parameter name: instance in ASP.NET

Error:

Uncaught Sys.ArgumentTypeException: Sys.ArgumentTypeException: Object of type 'Sys.Extended.UI.Animation.GenericAnimationBehavior' cannot be converted to type 'Sys.UI.Behavior'. Parameter name: instance
Solution:

Error resolved by adding ScriptMode="Release" like below
  1. <asp:ScriptManager ID="ScriptManager1" runat="server" ScriptMode="Release">
  2. </asp:ScriptManager>
or
  1. <asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server"  ScriptMode="Release">
  2. </asp:ToolkitScriptManager>

No comments:

Post a Comment