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

Unlimited hierarchy

2 Answers 117 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jokerwolf
Top achievements
Rank 1
Jokerwolf asked on 18 Aug 2010, 11:29 AM
Hello,
I've read this blog post, but still can't make the hierarchical grid view with WCF service providing data. Could yo pleas help me to make the unlimited hierarchy?

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 18 Aug 2010, 12:05 PM
Hi,

 What's the problem? Do you get any exceptions?

Best wishes,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jokerwolf
Top achievements
Rank 1
answered on 18 Aug 2010, 12:23 PM
public partial class ReturnType
    {
        [DataMember]
        public IEnumerable<ReturnType> Details
        {
            get
            {
                List<ReturnType> result = new List<ReturnType>();
                if (ShowDetails == true)
                {
                    Service srv = new Service();
                    srv.GetSubReport1(UpdateNumber, KSAID);
                }
                return (result);
            }
        }
    }

Well, I have this code at the service side, and when I get the List of ReturnType objects to attach it to the GridView at the client side, my programm calls the Details too. And when I expand the row, no call for Details, cause they are null already after the previous call. Instead of WPF we can only make async calls. So I can't solve this by just creating the same class at the client side.
Tags
GridView
Asked by
Jokerwolf
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Jokerwolf
Top achievements
Rank 1
Share this question
or