Slider, Script Manager and PerformancePoint

3 posts, 0 answers
  1. Juan Carlos Juarez
    Juan Carlos Juarez avatar
    7 posts
    Member since:
    Apr 2009

    Posted 01 Jun 2009 Link to this post

    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. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 02 Jun 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Juan Carlos Juarez
    Juan Carlos Juarez avatar
    7 posts
    Member since:
    Apr 2009

    Posted 02 Jun 2009 Link to this post

    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
Back to Top