This is a migrated thread and some comments may be shown as answers.

RadScript Manager error in sharepoint webpart

3 Answers 62 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Srujan
Top achievements
Rank 1
Srujan asked on 10 Jan 2011, 07:16 PM

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

3 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 11 Jan 2011, 11:03 AM
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.
0
Srujan
Top achievements
Rank 1
answered on 11 Jan 2011, 10:19 PM
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

 

0
Simon
Telerik team
answered on 13 Jan 2011, 10:36 PM
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.
Tags
Sharepoint Integration
Asked by
Srujan
Top achievements
Rank 1
Answers by
Simon
Telerik team
Srujan
Top achievements
Rank 1
Share this question
or