RadScript Manager error in sharepoint webpart

4 posts, 0 answers
  1. Srujan
    Srujan avatar
    18 posts
    Member since:
    Oct 2010

    Posted 10 Jan 2011 Link to this post

    Hi Team ,

    I have created webpart where i have included RadScript manager as below . Webpart is displaying correctly where as when I take mouse over any item on left navigation bar i get error as "A runtime error has occured .Do you wish to Debug?" and when I debug the error control takes me over to "onmouseover="Menu_HoverStatic(this)" ,Can you suggest as how to go about the issue .

    ScriptManager

     

    _scriptManagerTree = ScriptManager.GetCurrent(this.Page);

     

     

    if (_scriptManagerTree == null)

     

    {

    _scriptManagerTree =

    new RadScriptManager();

     

     

    this.Controls.AddAt(0, _scriptManagerTree);

     

    }
    Regards
    Srujan.N

  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 11 Jan 2011 Link to this post

    Hello Srujan,

    Please replace RadScriptManager with ScriptManager and verify whether the error persists. Then, please search your project for the Menu_HoverStatic function, as we do not have such in our code, and let me know where it is used.

    All the best,
    Simon
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Srujan
    Srujan avatar
    18 posts
    Member since:
    Oct 2010

    Posted 11 Jan 2011 Link to this post

    Hi Team ,

    I modified my code as below but the issue still persists

     

    ScriptManager _scriptManagerTree = ScriptManager.GetCurrent(this.Page);
    if (_scriptManagerTree == null)
    {
    _scriptManagerTree = new ScriptManager();
    this.Controls.AddAt(0, _scriptManagerTree);
    }

    Menu_HoverStatic function is a sharepoint function ,  I am using the telerik control in a sharepoint webpart , on the page where i include this webpart when ever i mouse over on top or left navigation bars this issues pops up .

    Regards
    Srujan.N

     

  4. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 13 Jan 2011 Link to this post

    Hello Srujan,

    If the error persists after substituting RadScriptManager with ScriptManager, then the former is not related to the issue.

    Please remove any other Telerik control from the page and let me know whether the error is still there.

    Greetings,
    Simon
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top