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

Change selectedDate format

3 Answers 64 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 15 Mar 2011, 10:32 PM
How do you format the radSchedular default selecteddate appearance? Mine defaults to Mar, 2011 unless I manually put something in. I would like it to be March 2011 (current Month Current Year)  and can it be centered in the header? I did not notice any css class in the skin that would handle this.

Thanks!
Mike

3 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 16 Mar 2011, 09:45 AM
Hello Mike,

You can center the date header with this CSS:

div.RadScheduler .rsHeader
        {
            text-align: center;
        }

Please let me know if you have further questions.

Greetings,
Veronica Milcheva
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!
0
Mike
Top achievements
Rank 1
answered on 16 Mar 2011, 11:11 PM
Thanks Veronica, that helped with the centering part.

Is there a way to pass in a custom date. Say radschedular1.SelectedDate.formatDate = "MMM yy" so it comes out as March, 2011?

Thanks again!
0
Mike
Top achievements
Rank 1
answered on 16 Mar 2011, 11:19 PM
Figured it out!
<MonthView HeaderDateFormat="dddd d, MMM "" />
Tags
Scheduler
Asked by
Mike
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Mike
Top achievements
Rank 1
Share this question
or