I'm using the method get_appointments () but it does not bring all the records that was returned by the query. So I figured it creates only those that appear in the scheduler.
How do I create it all Appointment?
3 Answers, 1 is accepted
0
Veronica
Telerik team
answered on 16 Nov 2010, 11:15 AM
Hello Rudá Cunha,
Please accept my apologies for the late reply.
Please note that get_appointments() function returns all appointments in the current view. That's why the count of the appointments returned by this function can vary for different views.
Could you please explain more on why you need to get all appointments of the scheduler so we can help you?
I have a grid that lists some appointments and when the person clicks on an item, you have to edit from the scheduler, only when it is another date that is not on display (but is returned via the query to the scheduler).
With that I have the problem listed above.
0
Accepted
Veronica
Telerik team
answered on 22 Nov 2010, 03:31 PM
Hi Rudá Cunha,
Please accept my apologies for the late reply.
You can subscribe to the OnSelectedIndexChanged event of the RadGrid and get the Start and End dates of the selected row. After that you can check whether the selected row is with start lower than VisibleRangeStart or greater than VisibleRangeEnd properties form the RadScheduler. If there is such appointment you can call ShowEditFormAt method to open the edit form.