RadScriptManager + javascript loading with SharePoint 2007

2 posts, 0 answers
  1. Ilona
    Ilona avatar
    4 posts
    Member since:
    Sep 2007

    Posted 03 May 2009 Link to this post


    I'm using RAD controls on my SharePoint publishing pages. Everything works smoothly in my test environment (which runs on server 2003). In test/production environment (server 2008 + newer AJAX libraries), javascripts from WebResource.axd are not loaded completely.

    Specifically, the menu hovering does not work and there is a Javascript error on the page. I'm using the OOTB SharePoint menu control. The "fly-out effect" does not work now since relevant scripts don't get loaded. If I don't use script manager on the page OR if I use the standard .NET script manager, scripts are loaded correctly.

    However, I can't use the .NET script manager in my solution. If I use that, Telerik tab strip does not work. The tabs are generated, but it is not possible to switch between the tabs by clicking the tab --- which kind of defeats the purpose. Note that in my test environment tabs works well with .NET script manager.

    Do you have any ideas for this? Right now I'm forced to choose lesser of the two evils (menu not working), but it is very bad for the usability of my site and I also really don't like the javascript error message that is now shown on every page.

    Btw, I tried the Telerik menu control as well. Hovering works fine with that, but it doesn't support the "SharePoint data source" well enough - and also I can't use it to create the horizontal menu I want.


  2. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 06 May 2009 Link to this post

    For SharePoint, I think it is best to use the "standard" ASP.NET ScriptManager control. If I recall correctly, there are some SharePoint security issues with the RadScriptManager that have to be configured before it will work correctly.

    That said, the regular ScriptManager should work with RadTabStrip. If the control is rendering and the tabs are failing, it's usually due to a JS error on the page. Can you look at your JS error console and let us know what errors you're seeing?

  3. DevCraft R3 2016 release webinar banner
Back to Top