I'm using the RadScheduler on a DotNetNuke module and for the month of November, the scheduler is binding 3140 appointments. Yes, over 3000 appointments.
I'm using the logic to filter by the viewable ranges, and administrators need to see all of the appointments for that range. This has led to a massive ViewState size (2.64MB) and that's after gzip compression as well set on IIS.
With a ViewState that large, it creates a problem for administrators that want to work on their iPad or on their phone over 3G networks, and in some cases even on their PCs. I tried setting EnableViewState = false for the Scheduler, and it almost entirely works.
There is a scenario where a dropdown on the AdvancedForm user control causes a page postback and effectively breaks the control when the ViewState for the Scheduler is off. If there is any code you can point me to that would potentially let me use jQuery or the Telerik cleint-side methods and wire up to a RadComboBox on the AdvancedForm. I have a cascading dropdown scenario where selecting a value in one box needs to set availability of resources in the dropdown right underneath it.
As an example, they pick Client A, it makes a roundtrip to the database and says they have secondary resources A,B,C available (postback). If they pick Client B, they may have resources B, D, and E. The availability of these secondary resources needs to be controlled so simple making them all available is also not an option.
Is there anything else you can recommend in order to minimize the Viewstate size for the Scheduler? Using RadCompression is not an option as we are working with a DotNetNuke instance and it uses a custom provider for compression handling. An acceptable option would be having GetAppointments not return any appointments for an administrator until a filtering option is selected. If there is an example for binding appointments based on a filter without first pulling back all appointments, that would work as well (example: no appointments shown at first, but when Client C is picked, will fetch their appointments using the custom scheduler provider and bind those)
Thanks in advance
I'm using the logic to filter by the viewable ranges, and administrators need to see all of the appointments for that range. This has led to a massive ViewState size (2.64MB) and that's after gzip compression as well set on IIS.
With a ViewState that large, it creates a problem for administrators that want to work on their iPad or on their phone over 3G networks, and in some cases even on their PCs. I tried setting EnableViewState = false for the Scheduler, and it almost entirely works.
There is a scenario where a dropdown on the AdvancedForm user control causes a page postback and effectively breaks the control when the ViewState for the Scheduler is off. If there is any code you can point me to that would potentially let me use jQuery or the Telerik cleint-side methods and wire up to a RadComboBox on the AdvancedForm. I have a cascading dropdown scenario where selecting a value in one box needs to set availability of resources in the dropdown right underneath it.
As an example, they pick Client A, it makes a roundtrip to the database and says they have secondary resources A,B,C available (postback). If they pick Client B, they may have resources B, D, and E. The availability of these secondary resources needs to be controlled so simple making them all available is also not an option.
Is there anything else you can recommend in order to minimize the Viewstate size for the Scheduler? Using RadCompression is not an option as we are working with a DotNetNuke instance and it uses a custom provider for compression handling. An acceptable option would be having GetAppointments not return any appointments for an administrator until a filtering option is selected. If there is an example for binding appointments based on a filter without first pulling back all appointments, that would work as well (example: no appointments shown at first, but when Client C is picked, will fetch their appointments using the custom scheduler provider and bind those)
Thanks in advance