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

RadScheduleView in Lightswitch with large appointment list

3 Answers 63 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 04 Nov 2011, 06:23 AM
I followed the example project for integrating RadScheduleView into a Lightswitch application. My appointments table has 38000 records in it so I set the table page size to 50,000. If I then use the entire table as the datasource, the scheduler hangs. But if I try and filter appointments on date within visible date range of the scheduler then I will miss recurrent appointments. Is there a limit to the number of rows in the datasource? Any tricks to binding to it in this situation?

3 Answers, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 04 Nov 2011, 07:13 AM
Actually it seems it is the loading of the screen datasource that takes all the time - its not the fault of the scheduler. If I enable paging and set page size to below 5000 then it loads in an acceptable time. If I increase the page size or disable paging altogether then the table loading seems to hang. But I still need to get all the data to the scheduler somehow. Is there another means?
0
Ivo
Telerik team
answered on 08 Nov 2011, 04:56 PM
Hello John,

Actually, you load on demand functionality can be implemented for recurrence appointments too. You will have to create query and  modify the query into the PreprocessQuery event handler.

You can find attached a sample example.

Kind regards,
Ivo
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
John
Top achievements
Rank 1
answered on 09 Nov 2011, 12:20 PM
Awesome, thank you Ivo.
Tags
ScheduleView
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Ivo
Telerik team
Share this question
or