Define RadCalendar template for all the days.

5 posts, 1 answers
  1. Larissa
    Larissa avatar
    8 posts
    Member since:
    Jan 2012

    Posted 12 Jan 2012 Link to this post

    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!
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 12 Jan 2012 Link to this post

    Hello,

    Take  a look into the following documentation.
    RadCalendar Day Templates

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Larissa
    Larissa avatar
    8 posts
    Member since:
    Jan 2012

    Posted 12 Jan 2012 Link to this post

    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?
  5. Answer
    Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 12 Jan 2012 Link to this post

    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
  6. Larissa
    Larissa avatar
    8 posts
    Member since:
    Jan 2012

    Posted 12 Jan 2012 Link to this post

    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!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017