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

For 2008 Q3 will RadGrid support client databind hierarchy and client databind grouping?

3 Answers 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 24 Sep 2008, 11:53 PM
Hi

I noticed in the product roadmap:
    http://www.telerik.com/products/aspnet-ajax/roadmap.aspx

"Client-Side Features: We will continue to introduce unique client-side features in all controls and most importantly in RadGrid and RadScheduler."


To aid in our development planning does this mean that RadGrid will support client databind with hierarchy and client databind with grouping?



Kind regards

Mark Eaton

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 25 Sep 2008, 07:13 AM
Hello Mark,

You can use in the current version client-side data-binding with hierarchy:
http://blogs.telerik.com/VladimirEnchev/Posts/08-09-09/How_To_Telerik_RadGrid_Master_Detail_client-side_data-binding_using_LINQ_to_SQL_and_WebService.aspx

And you can use combination of client-side data-binding and server-side grouping:
http://www.telerik.com/community/forums/thread/b311D-bgahdt.aspx

Kind regards,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mark
Top achievements
Rank 1
answered on 30 Sep 2008, 02:33 AM
Hi Vlad

What you have said contradicts what Pavel told me on 25 Aug 2008:

    http://www.telerik.com/community/forums/thread/b311D-bkgtdh.aspx


I have used the example and it does work (to a point), however I find the HTML markup to be very, very expensive.

As another RadGrid is used within the NestedViewTemplate we need the default of 10 rows. Multiple this by the nested RadGrid which defaults also to 10 rows and we get: 10 x 10 = 100 rows!

I know I can reduce the page size and for the time being I will most likely have to do this. (But even a page size of 5 is a lot of unnecessary HTML markup).

Ultimately what I would like to do to reduce the markup is to start with zero rows, then add rows when necessary. (I don't use any web controls in my grid).

However this doesn't work. We can add rows to the main parent grid but not a nested grid.

Instead of using a nested grid I tried using a detail table but this didn't work either.

Is there a solution for this now or will 2008 Q3 Telerik Grid be able to achieve this?


Kind regards

Mark Eaton
0
Nikolay Rusev
Telerik team
answered on 03 Oct 2008, 07:13 AM
Hello Mark,

RadGrid needs this initial rows to be able to populate them properly with data . Have in mind that if you have template columns for example and need to populate them client-side, the controls in those columns should be created server-side first time to populate them properly with data.

Regarding the issue you have with inserting items in RadGrid, can you provide us with your code. Thus we'll be able to give you the best suggestion how to solve the issue which you are currently facing.

Sincerely yours,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Mark
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Mark
Top achievements
Rank 1
Nikolay Rusev
Telerik team
Share this question
or