Styling the Calender

6 posts, 0 answers
  1. Roman Wack
    Roman Wack avatar
    13 posts
    Member since:
    Mar 2010

    Posted 18 Feb 2011 Link to this post

    Hi,

    I have a template for the RadCalender of the DatePicker. There is a TransitionPanel that I want to
    style. But how to do it? The RadUniformGrids in this TransitionPanels have no templates??

    Thank you!
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 22 Feb 2011 Link to this post

    Hello Roman Wack,

    You can't style a Panel in Silverlight. The main purpose of the panels is to arrange its children according to a specific logic.

    Greetings,
    Kaloyan
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft banner
  4. Roman Wack
    Roman Wack avatar
    13 posts
    Member since:
    Mar 2010

    Posted 22 Feb 2011 Link to this post

    but how to style the calender?
  5. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 24 Feb 2011 Link to this post

    Hello Roman Wack,

    The easiest way is to use the Expression Blend. Follow the attached movie showing you how to accomplish the task.

    Greetings,
    Kaloyan
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  6. Roman Wack
    Roman Wack avatar
    13 posts
    Member since:
    Mar 2010

    Posted 24 Feb 2011 Link to this post

    Hi,

    thanks for your help, but it doesn't work.
    First my RadDatePicker has no MonthViewPanelTemplate. I can only create
    an empty one in Blend. So I add a RadCalender to the view. This Control
    does have a MonthViewPanelTemplate but if I try to edit it, there is only a CalenderPanel
    in it...
    What am I doing wrong?
  7. Pana
    Admin
    Pana avatar
    748 posts

    Posted 24 Feb 2011 Link to this post

    Hello Roman Wack,

    Watch carefully the video. For example Panels are used to layout. The MonthViewPanelTemplate is the template for the Panel that will be used to layout the items of the RadCalendar in month view. This is like editing the ItemsPanel property of an ItemsControl. I suppose what you want to edit is the MonthViewStyles of RadCalendar instead which is like the ItemContainerStyle of a ListBox.

    After you create style for RadCalendar you can just apply it on the CalendarStyle of RadDateTimePicker.

    Greetings,
    Pana
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top
DevCraft banner