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

selected months display in multi month view

3 Answers 94 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
pramodh
Top achievements
Rank 1
pramodh asked on 22 Oct 2010, 09:33 AM
actually when I display 3 multi month view I get October, November and December months view where as I want Sep, Oct and November view..

can some thing be done for this?

3 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 22 Oct 2010, 12:28 PM
Hello Pramoth,
You can use the following code snippet to achieve your scenario.

C#:
protected void StartDtPicker_Load(object sender, EventArgs e)
   {
       StartDtPicker.Calendar.FocusedDate = DateTime.Now.AddMonths(-1);
   }

ASPX:
   
 <
telerik:RadDatePicker ID="StartDtPicker" runat="server" Skin="Windows7" onload="StartDtPicker_Load" Calendar-MultiViewColumns="3" >
 </telerik:RadDatePicker>

Thanks,
Princy.
0
pramodh
Top achievements
Rank 1
answered on 22 Oct 2010, 12:41 PM
princy,

thank u so much.. just 1 more query.. please help me ..

in the code below

   <telerik:RadDateTimePicker ID="StartDtPicker" runat="server" Skin="Windows7"
                                Calendar-EnableMonthYearFastNavigation="true" onload="StartDtPicker_Load">
                                    <Calendar MultiViewColumns="3" MultiViewRows="1" ShowOtherMonthsDays="false"
                                        ShowRowHeaders="false" CalendarTableStyle-BackColor="AliceBlue"
                                        DayStyle-Font-Bold="true" NavigationPrevText="" NavigationNextText="">
                                        <SpecialDays>
                                            <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Bisque" />
                                        </SpecialDays>
                                        <ClientEvents OnLoad="calendarLoad" />                            
                                    </Calendar>
  </telerik:RadDateTimePicker>

<<, <, >, >> is not working in my calender.. do i need to write the events for these buttons to works too?
0
Vasil
Telerik team
answered on 22 Oct 2010, 01:04 PM
Hi pramodh,

Try folowing the solution in this code library to implement Molt-iMonth calendar with month navigation in RadDateTimePicker.

All the best,
Vasil
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Calendar
Asked by
pramodh
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
pramodh
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or