How to load just one month data to WebMonthView. I need this, because we have more than 2000 apointments during a half year and control loads too long time. I need a behavior where when I click next or previous month arrow button, next month is loaded and data is fetched at that time.
Hi Mauri,
For this functionality you can handle the 'Frame Interval Changing' event. This event fires during data binding and based on the interval you set (FrameInterval property) only the activities for that interval range will load and display. For more details on this event: http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=Infragistics4.WebUI.WebSchedule.v12.1~Infragistics.WebUI.WebSchedule.WebScheduleInfo~FrameIntervalChanging_EV.html
Please let me know if you need any additional assistance regarding this matter.
Hi,
Please let me know if you need additional assistance regarding this matter.
This one didn’t help me at all. We still have major performance issue with month view. Basically calendar is useless, since we now load 3 months forward and 1 month backwards to it. When you then press month change arrow month changes really slowly (since we have about 1000 appointments). We have now build spinner to show that something happens.
But what I really want to do is to load just that months data to wsDataProvider.ActivityDataSource
which is used in igsch:WebMonthView with
<ig_scheduledata:WebScheduleGenericDataProvider runat="server" ID="wsDataProvider"
WebScheduleInfoID="wsInfo">
<AppointmentBinding DataKeyMember="ID" ResourceKeyMember="ResourceKey" />
<ResourceBinding DataKeyMember="ID" />
<VarianceBinding DataKeyMember="ID" ResourceKeyMember="ResourceKey" />
</ig_scheduledata:WebScheduleGenericDataProvider>
Do you have any code example how to use 'Frame Interval Changing' event?
Do you have any code example how to use 'Frame Interval Changing' event? And just load one month to get this calendar to handle that load? Or is there any other way to do this? Handle about 500 appointments a month?