Hi Peter,
Thanks for your reply.
I tried your suggestion. With some minor adjustment I was able to set the visible property of the control within the "AppointmentTemplate". However setting formatting information (ForeColor, Backcolor) is not successful.
The following works.
e.Appointment.Attributes[
"CustomVisibility"] = "false";
However the following fails. It throws a runtime exception ("
Specified cast is not valid").
e.Appointment.Attributes[
"CustomForeColor"] = "Red";
(I may be missing some thing; please let me know if you have a work around)
Also, I want to add another question. In my project the RadScheduler is used only to display information(using specifically for the calendar view).
Is it possible to expand area based on the content. For eample if I'm displaying 10 labels (one in each line seperated by line breaks), I want this information to be available in all views.
In the day view it is OK (unless the duration between the starttime(startdate) and endtime(enddate) are just one or two hours.
In the "week view" the data is getting sqeezed so that I can only see part of the information.
In the "Month view" it just partially displays the first label info.
I tried using panel with scroll bars enabled (it doesn't help a lot). It would be great if there is a way to resize the calendar view based on the information contained within. Appreciate if you can let me know if there are any properties to achieve this in RadScheduler.
Thank you.