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

Accessing Sharepoint list without using WCF service

1 Answer 16 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Achuthan
Top achievements
Rank 1
Achuthan asked on 08 Nov 2011, 01:50 PM
1. I have an SPList and i want to show silverlight chart for that list. I want to read the datas without using WCF . How can we do it.

2. How to bind datas without looping?
Example:
If you see the following code this is how i have binded the datas. Here i have X and Y axis in a List. How to bind the datas without looping it.

DataSeries series=new DataSeries();
foreach( ... )
series.Add(new DataPoint() { YValue = tempYValue[itemIndex], XValue = tempXValue[itemIndex] });


How can i correct the above two issues. It should be compatible with sharepoint 2010 and 2007

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 09 Nov 2011, 02:10 PM
Hello Achuthan,

We have outlined the recommended approach for MOSS/Silverlight communication in our reply to your previous support ticket ("Reading Sharepoint List and Property Bag for Telerik Silverlight Chart") so we strongly believe WCF is the way to go.

If for some reason you do not want to use WCF, we would suggest you to check the official Microsoft Sharepoint Forums for guidance as we believe this is a bit out of the scope of the Telerik RadControls suite (i.e. RadChart behaves as any other standard Silverlight databound control so if you are able to achieve the desired functionality for a ComboBox, you can use the same approach with RadChart as well).

Onto your second question -- you can either populate the chart manually, or use the built-in databinding infrastructure (more information can be found here).


All the best,
Giuseppe
the Telerik team

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

Tags
Chart
Asked by
Achuthan
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or