SPRadChart: Can not edit series and datasource

4 posts, 0 answers
  1. Ryan
    Ryan avatar
    9 posts
    Member since:
    Jun 2012

    Posted 06 Jan 2012 Link to this post

    Installed the Sharepoint Acceleration Kit.  Deployed the solution, turned the feature on and inserted the SPRadChartWebPart into a blank page on a website.  I seem to be able to adjust all properties of the web part, including the color palette (which opens a pop up page).  When I try and open the Series and Data Source I recieve a sharepoint error.  Tracing this to the ULSTraceLog view on the WSS_Logging database I looked the error up using the correlationID and here is the stack trace:

    System.NullReferenceException: Object reference not set to an instance of an object.   
    at SPRadChartWebPart.Layouts.SPRadChartWebPart.ManageSeries.LoadMappingValues(RadComboBox mappingsCombo)    
    at SPRadChartWebPart.Layouts.SPRadChartWebPart.ManageSeries.BindMappingCombos()    
    at SPRadChartWebPart.Layouts.SPRadChartWebPart.ManageSeries.Page_Load(Object sender, EventArgs e)    
    at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)    
    at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)    
    at System.Web.UI.Control.OnLoad(EventArgs e)    
    at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.OnLoad(EventArgs e)    
    at Microsoft.SharePoint.WebControls.LayoutsPageBase.OnLoad(EventArgs e)    
    at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Anyone have any ideas why this is happening?

    Thanks,

    Ryan
  2. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 11 Jan 2012 Link to this post

    Hi Ryan,

    We tried this on our side but couldn't reproduce this erroneous behavior. Have you suceed to bind the chart or the exception is thrown the first time you try to open the Series and DataSource? Any additional information that you may provide will help us to investigate this issue.

    Regards, Evgenia
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>


  3. Ryan
    Ryan avatar
    9 posts
    Member since:
    Jun 2012

    Posted 11 Jan 2012 Link to this post

    Believe this was due to the top level site (which is our testing site) being screwy.  Created a new site collection (instead of subsite) and the datasource pulls fine. 

    Just realize that if you are in a subsite, the webpart still looks at the lists from the top site in the site collection.

    Ryan
  4. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 12 Jan 2012 Link to this post

    Hello,

    That's really strange. I couldn't bind SPRadChartWepPart to a list in my subsite too but there was no exception. I just couldn't find my custom list amongst the ones in Manage Series Definitions section.
    After discussion with our developers I understood that the SPRadChartWebPart was created by design to be bound to lists from the site collection. Unfortunately it doesn't matter if your wep part is located in subsite or in the top-level site - your list won't be visible for it.
    What I can suggest is that you consider moving your list in the site collection or creating your own web part with our Chart.

    Greetings,
    Evgenia
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top