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

ChildViewExpanding and changing content of ChildGridView

1 Answer 162 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Milos
Top achievements
Rank 1
Milos asked on 06 Jun 2009, 11:08 PM

Hello All,
I have a task to evaluate Telerik GridView, but I'm stacked with a problem.
I need to create hierarchical RadGridView, but scenario where I will bind on startup Master and Childs Templates is not good for me, because most of the data in ChildGrid will be shown only on expanding, and in my scenario getting all the data is too expensive.
So I'm trying to populate Rows collection of ChildGridView template on ChildViewExpanding event.
And here where I have a problem. After first time I expand on + I have correct content, but then I collapse, and expand again, there is no content ( and in code Rows collection is properly filled with data ).
I found some threads on forum where other have similar issues, and conclusion was that Hierarchy can't be created dynamically and updated on expanding event.

What I'm missing here, or is this as designed?
Is there workaround for this( or way to simulate same behavior), or my best choice is to bring new GridView when user click master grid.

Thanks in advance.
Regards

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 10 Jun 2009, 09:14 AM
Hello Milos,

Sorry for the introduced inconvenience. Currently this is not supported feature of RadGridView. We plan to extend the hierarchy functionality for then next releases after Q2. We have planed support for on-demand loading, and self-reference hierarchy.

Greetings,
Julian Benkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Milos
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or