RadChart from StoredProcedure.

3 posts, 0 answers
  1. Renju Panicker
    Renju Panicker avatar
    23 posts
    Member since:
    Mar 2010

    Posted 20 Oct 2011 Link to this post

    Hi Telerik team.

    Firstly am new into Silverlight and LINQ and DataEntity.

    Now my problem. We have an existing asp.net application which is mainly used for reporting purposes.Now the client needs to add some charts and guages into that application. They want to add these using Silverlight.So we have purchased the telerik radcontrols for Silverlight Q22010( Actually we brought it for winforms and at that time the whole bundle was purchased).

    I have used the wpfcontrols from telerik to populate the chart and guages.it was using Datatable, which is not supported in Silverlight.
    We are pulling data from differrent tables using stored procedures and parameters passed to that.

    So can anyone please help me to accomplish this. I heard that Silverlight will talk to SQL Server 2008 using LINQ to SQL. I tried most of the examples available in the Telerik site and googled one's but everything was in vague.

    Can anyone help me out in fixing this with a good example. like passing parameters from asp.net page to stored proceduresand loading  the radchart in silverlight from the resultset of the procedure

    Thanks in advance

    Renju
  2. Renju Panicker
    Renju Panicker avatar
    23 posts
    Member since:
    Mar 2010

    Posted 25 Oct 2011 Link to this post

    Hi All..

    No Takers... :(

  3. Yavor
    Admin
    Yavor avatar
    401 posts

    Posted 25 Oct 2011 Link to this post

    Hi Renju Panicker,

    You can access your data using WCF RIA services. Entity framework supports stored procedures and you can create a method in your RIA service that returns the data that you want. Fortunately we have something that can help you with the data from your RIA service in your silverlight application - RadDomainDataSource. After you have your data in silverlight setting up RadChart is easy. Here are some useful links:
    RIA and stored procedures
    Getting started with RadDomainDataSource
    RadChart and RadDomainDataSource

    Regards,
    Yavor
    the Telerik team

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

Back to Top