Hierarchiral gridview

5 posts, 0 answers
  1. Subhash Chandra
    Subhash Chandra avatar
    9 posts
    Member since:
    Sep 2009

    Posted 29 Oct 2009 Link to this post

    Hi,
          I have a telerik radgridview. I want to show that gridview in hierarchiral format.
    To bind the data ,I have a WCF service.
    In that service I am  executing 2 separate sql queries and keeping results in  2 datatables..
     At last I am adding a relationship  between the 2 datatables using dataset.

    Here lies my problem.
    How can I return the dataset from WCF service to code behind page and bind to gridview itemsource property so that  the gridview show hierarchiral view of data. 

    Note: I do not  wnat to use property relationship.
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 30 Oct 2009 Link to this post

    Hello,

    You've posted this question in wrong forum - this is for the calendar not for the grid.

    You cannot return DataTable or DataSet to the Silverlight client since these are no such classes in Silverlight in general. The easiest way to achieve your goal is to use ADO.NET DataService or RIA service - you can check my blog post for more info:
    http://blogs.telerik.com/vladimirenchev/posts/09-10-16/how_to_silverlight_grid_hierarchy_load_on_demand_using_mvvm_and_ria_services.aspx

    Sincerely yours,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Donald Hamm
    Donald Hamm avatar
    21 posts
    Member since:
    May 2008

    Posted 30 Oct 2009 Link to this post

    FYI Vlad, your link from the 'griview' brings you to this section of the forum instead of the 'grids'...

    Thanks!

    -Don
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 30 Oct 2009 Link to this post

    Thanks Don!

    We will check this immediately.

    Kind regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. Atanas
    Admin
    Atanas avatar
    22 posts

    Posted 31 Oct 2009 Link to this post

    Hello Donald Hamm,

    Thank you for reporting this issue!

    It seems that we had broken link which is fixed now.

    Please don't hesitate to contact us for any further issues!

    Greetings,
    Atanas
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
DevCraft banner