Accessing Sharepoint list without using WCF service

2 posts, 0 answers
  1. Achuthan
    Achuthan avatar
    31 posts
    Member since:
    May 2007

    Posted 08 Nov 2011 Link to this post

    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?
    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
  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 09 Nov 2011 Link to this post

    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,
    the Telerik team

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

Back to Top