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

Declarative vs. Advanced DataSource

1 Answer 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jason Bourdette
Top achievements
Rank 1
Jason Bourdette asked on 30 Apr 2010, 02:50 PM
New be here. Just trying to get my feet wet and make sure I understand the different databinding techniques for the RadGrid.

So clearly I understand that Simple Data binding is only good if your NOT doing filtering, sorting, paging. Which of course I'm doing.

So between advanced and declarative I could not really find a comparison. Is one method preferred over the other. Any performance gains by using one over the other.

A some what sperate question but related:
Before switching to telerik, on my web page I had an ASP.NET timer control that was set to fire my databinding method after half a second. This way the web page and layout could fully load to the user, and the user would just see an ajax "loading..." type message while the grid data loaded.  Is this at all similar to the NeedDataSource method? Does the web page render before the NeedDataSource method fires? If not how could I achieve this same thing using the telerik framework?

Thanks
Jason

1 Answer, 1 is accepted

Sort by
0
Jason Bourdette
Top achievements
Rank 1
answered on 01 May 2010, 04:29 PM
I did some more reading and i think i pretty much have my answer.

Seems like declarative is good a quick mock up but any real world app would probably want to use advanced mode.

Also found a post already on the forum that perfectly describes Late binding to a RadGrid.

http://www.telerik.com/community/forums/aspnet-ajax/grid/delay-load-on-radgrid.aspx

Thanks
Jason
Tags
Grid
Asked by
Jason Bourdette
Top achievements
Rank 1
Answers by
Jason Bourdette
Top achievements
Rank 1
Share this question
or