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

SPRadChart: Can not edit series and datasource

3 Answers 45 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 06 Jan 2012, 09:40 PM
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

3 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 11 Jan 2012, 09:11 PM
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 >>

0
Ryan
Top achievements
Rank 1
answered on 11 Jan 2012, 10:24 PM
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
0
Evgenia
Telerik team
answered on 12 Jan 2012, 02:54 PM
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 >>
Tags
Sharepoint Integration
Asked by
Ryan
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Ryan
Top achievements
Rank 1
Share this question
or