Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / SharePoint 2007 > Integrating Controls > RadScript Manager error in sharepoint webpart

Not answered RadScript Manager error in sharepoint webpart

Feed from this thread
  • Srujan avatar

    Posted on Jan 10, 2011 (permalink)

    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

    Reply

  • Simon Simon admin's avatar

    Posted on Jan 11, 2011 (permalink)

    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.

    Reply

  • Srujan avatar

    Posted on Jan 11, 2011 (permalink)

    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

     

    Reply

  • Simon Simon admin's avatar

    Posted on Jan 13, 2011 (permalink)

    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / SharePoint 2007 > Integrating Controls > RadScript Manager error in sharepoint webpart