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

Switch from hierarchical to flat scheme

2 Answers 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 11 Aug 2008, 05:30 PM
Hello,

I would like to be able to programmatically and asynchronously (without a full postback) switch from a hierarchal to a flat (group-by) grid.

Basically the first level of the hierarchal grid would have only one visible column and one index column (not visible). The user will click a button I will want to asynchronously rebind the grid to a single table (non-hierarchal) with many visible columns (and vise-versa).

Of course I am able to do this with a full postback, but what I would like is to fully change (and redisplay to the user) a new/different grid scheme 100%  asynchronously.

Thank you!

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 14 Aug 2008, 11:12 AM
Hi Jeff,

You can ajaxify the grid using RadAjaxManager or RadAjaxPanel.

Sincerely yours,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jeff
Top achievements
Rank 1
answered on 14 Aug 2008, 02:29 PM
Yes, I fully understand that and have been working with ajaxified controls for a while now. My question is; can the grid schema be changed from flat to hierarchal or can I change the datasource all together without a full postback and display the changes to the user asynchronously?

In the past and working with another control, I was not able to do this without a full postback.

Thanks!
Tags
Grid
Asked by
Jeff
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Jeff
Top achievements
Rank 1
Share this question
or