This is a migrated thread and some comments may be shown as answers.

Define RadCalendar template for all the days.

4 Answers 140 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Larissa
Top achievements
Rank 1
Larissa asked on 12 Jan 2012, 08:50 AM
Hi,

I need to create a template to be applied for all the days. Is it possible to do so?
I know the concept of SpecialDays, which we can define the template for 'individual' day. But is there any way for me to define the template to be applied for all the days, instead of adding all the days to the SpecialDays.

Really appreciate your help!

4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 12 Jan 2012, 10:16 AM
Hello,

Take  a look into the following documentation.
RadCalendar Day Templates

Thanks,
Princy.
0
Larissa
Top achievements
Rank 1
answered on 12 Jan 2012, 11:38 AM
Yes, i have looked in to that solution as well. But it's only achieve-able by inserting all the date to the SpecialDays, to achieve what i want.  Is there any other way to set the 'general' template for all date?
0
Accepted
Vasil
Telerik team
answered on 12 Jan 2012, 01:04 PM
Hello Larissa,

Did you check up this online demo: http://demos.telerik.com/aspnet-ajax/calendar/examples/functionality/specialdays/defaultcs.aspx
If you like to style all days you could use custom skin as shown in the demo. Such a way all days will be styled.
Another way would be to use seven special days with Repeatable set to "Week". They will repeat every week, so you will cover all dates.

Regards,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Larissa
Top achievements
Rank 1
answered on 13 Jan 2012, 03:06 AM
Hi Vasil,

I want to insert either .ascx or more complex controls as the day content, thus i want to use the template, instead of merely styling. I'll try to set the repeatable to 'Week' then. Thanks!
Tags
Calendar
Asked by
Larissa
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Larissa
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or