More in this section
Forums / Developing with Sitefinity / error when using CollapsiblePanelExtender

error when using CollapsiblePanelExtender

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Priya Ramesh
    Priya Ramesh avatar
    26 posts
    23 Jul 2009
    25 May 2010
    Link to this post
    I am trying to use CollapsiblePanelExtender in my site and I a javascript error. Do you what is causing this error?



    ajaxToolkit:CollapsiblePanelExtender runat="server" ID="cpe" TargetControlID="panel2" CollapseControlID="panel1"



    ExpandControlID="panel1" Collapsed="true" CollapsedSize="0" ExpandedSize="120" ImageControlID="Image1"
     ExpandedText="(Collapse...)" CollapsedText="(Expand...)" TextLabelID="textLabel"
    ExpandedImage="Img/collapse.jpg" CollapsedImage="Img/expand.jpg" 





    Message: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the AjaxScriptManager in System.Web.Ajax.dll, or use the ToolkitScriptManager in AjaxControlToolkit.dll.
    Line: 27
    Char: 5
    Code: 0
    URI: http://localhost/ScriptResource.axd?d=mAEzzmZewkKAnyChKNxKxkP61pTEJGlu0ZTHsjyvIZJsbE3nt-myDBvM_fh3LWeW0&t=2979bff2

    Message: Object doesn't support this property or method
    Line: 1171
    Char: 1
    Code: 0
    URI: http://localhost/ScriptResource.axd?d=mAEzzmZewkKAnyChKNxKxsLK0cUvWaS-RimjgDf3TfdMUsECqFy2Dj9KE2BqFBaIwpDVKG9knGomW6RVccAwyJ6dzZcTLWTisHoTVYJwh5w1&t=2979bff2

    Message: '$common' is null or not an object
    Line: 262
    Char: 13
    Code: 0
    URI: http://localhost/ScriptResource.axd?d=mAEzzmZewkKAnyChKNxKxsLK0cUvWaS-RimjgDf3TfdMUsECqFy2Dj9KE2BqFBaIwpDVKG9knGomW6RVccAwyJ6dzZcTLWTisHoTVYJwh5w1&t=2979bff2

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    26 May 2010
    Link to this post
    Hello Priya Ramesh,

    1. Try using ToolkitScriptManager. The 4.0 Control Toolkit uses their own version of "MicrosoftAjax.js" and "MicrosoftAjaxWebForms.js" registered by the ToolkitScriptManager.

    2. You can take a look at this public forum thread which elaborates on the same subject. Check whether youare using the .NET 4 assemblies of RadControls for ASP.NET AJAX in your project.

    3. If you are using ASP.NET ScriptManager or RadScriptManager you should register the scripts manually by specifying the path the the Microsoft Ajax js library.

    4. There is a known issue about RadAjaxManager and AjaxControlToolkit which should be fixed int the latest internal build of the RadControls for ASP.NET AJAX. There are some known issues that still appear when you have enabled Telerik CDN.

    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered