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

Slider, Script Manager and PerformancePoint

2 Answers 106 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Juan Carlos Juarez
Top achievements
Rank 1
Juan Carlos Juarez asked on 01 Jun 2009, 03:58 PM
Hi, I have a problem, I worte a webpart to work in Sharepoint, this webpart have a RadSlider, well My webpart work fine with the RadScriptManager, but I tried to put a PerformancePoint webpart in the same page of my telerik webpart but this had a problem:

Unable to cast object of type 'Telerik.Web.UI.RadScriptManager' to type 'Microsoft.PerformancePoint.Scorecards.WebParts.ScriptManagerLoader'.

I found a thread for the solution ( http://blogs.msdn.com/fooshen/archive/2008/10/18/performance-point-server-2007-and-ajax-on-sharepoint.aspx ), but when I change the RadScriptManager for the PPS:ScriptManagerLoader my slider is disabled, and when I try to edit my page (Edit Page in SharePoint) I have this error:

Server Error in '/' Application.

 


 

 

The given key was not present in the dictionary.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

Stack Trace:

 

[KeyNotFoundException: The given key was not present in the dictionary.]
   System.ThrowHelper.ThrowKeyNotFoundException() +36
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +10374485
   Telerik.Web.UI.RadSlider.LoadClientState(Dictionary`2 clientState) +520
   Telerik.Web.UI.RadDataBoundControl.LoadPostData(String postDataKey, NameValueCollection postCollection) +172
   Telerik.Web.UI.RadSlider.LoadPostData(String postDataKey, NameValueCollection postCollection) +81
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +945
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2071

Well, Somebody have a idea about this?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 02 Jun 2009, 11:58 AM
Hello Juan Carlos Juarez,

Could you please provide us with the code of your custom webpart? This way we will be able to reproduce the problem on our test server and help you further.

Thank you.


All the best,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Juan Carlos Juarez
Top achievements
Rank 1
answered on 02 Jun 2009, 02:22 PM
Hi, I update the telerik package to 2009_1_527 and this problem was solved, but now I have a new problem:

Unable to cast object of type 'Microsoft.PerformancePoint.Scorecards.WebParts.DashboardItemWebPart' to type 'Microsoft.SharePoint.WebPartPages.WebPart'

You can see that the new problem is related with PerformancePoint and SharePoint, I think that is not problem of telerik. I think that my own MasterPage have the problem with performancepoint.

Thanks
Tags
Slider
Asked by
Juan Carlos Juarez
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Juan Carlos Juarez
Top achievements
Rank 1
Share this question
or