This question is locked. New answers and comments are not allowed.
When FetchDate() is called the startDate and endDate params are only for the current month and not the Calendars visible date range
Is there a property somewhere to fix this?
Is there a property somewhere to fix this?
5 Answers, 1 is accepted
0
Hi Tyler,
FetchData is called with the Calender.DisplayedDate info so this should give you always the currently displayed date in the calender. Is there are case when this is no synced?
Regards, Valentin.Stoychev
the Telerik team
FetchData is called with the Calender.DisplayedDate info so this should give you always the currently displayed date in the calender. Is there are case when this is no synced?
Regards, Valentin.Stoychev
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0
Tyler
Top achievements
Rank 1
answered on 18 Aug 2011, 08:25 AM
The problem is that the date range passed into FetchDate does not include visible days of the previous and next month. Right now I'm subtracting 10 days from the startdate and adding 10 to the enddate parameters inside of FetchDate so that appointments will be rendered for all visible days. I could calculate this more accurately but I feel this should be the default behavior of the control.
0
Hello Tyler,
This is a valid argument. We will add a new property for this case so it includes the extended days too.
Thanks for pointing it out! I've updated your Telerik points.
Regards, Valentin.Stoychev
the Telerik team
This is a valid argument. We will add a new property for this case so it includes the extended days too.
Thanks for pointing it out! I've updated your Telerik points.
Regards, Valentin.Stoychev
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0
Thomas
Top achievements
Rank 1
answered on 30 Jan 2012, 11:51 PM
Is this property implemented in the meantime? Can't find it.
thx,
Thomas
thx,
Thomas
0
Hello Thomas,
No, this is not implemented. You can use the solution provided by Tyler and to fetch data for the previous and next 10 days.
Greetings, Valentin.Stoychev
the Telerik team
No, this is not implemented. You can use the solution provided by Tyler and to fetch data for the previous and next 10 days.
Greetings, Valentin.Stoychev
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>