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

DataSource Pulling Partial Sets of Data

2 Answers 51 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Stephen Griffin
Top achievements
Rank 1
Stephen Griffin asked on 05 Apr 2010, 07:33 PM
Do you have a current best practice so that when using the DataSource property, it only needs to get a portion of the data that is going to be displayed?  All of the examples that I see seem to only do a "Get all" type of method, even though some of that data won't be displayed.  Right now, I have it setup to pull all data in the page_init but was thinking I could limit to only pull data for the current month selected and when they change to a new month, it will pull a new set of data.  Is there an event I can use to detect when they choose a new month, or other type of navigation events?

Thanks!

2 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 06 Apr 2010, 06:02 PM
Hi Stephen,

This demo shows how to select the currently visible appointments from the data source:

http://demos.telerik.com/aspnet-ajax/scheduler/examples/optimizedqueries/defaultcs.aspx

I hope this helps.

Regards,
Tsvetomir Tsonev
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
Stephen Griffin
Top achievements
Rank 1
answered on 06 Apr 2010, 06:14 PM
Perfect!  You should get that linked posted in the help files in that section.
Tags
Scheduler
Asked by
Stephen Griffin
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Stephen Griffin
Top achievements
Rank 1
Share this question
or