Hi,
I have placed a calendar control in a div tag with overflow:auto.
The Calendar control is set Multviewrows = 12, which shows all 12 months.
I want to scroll down , so that default month shown on the top is the current month.
I do not want my calendar to start from current month, just want the scroll bar to adjust so that the current month is on the top.
Below is the code
Thanks,
Saifee.A
I have placed a calendar control in a div tag with overflow:auto.
The Calendar control is set Multviewrows = 12, which shows all 12 months.
I want to scroll down , so that default month shown on the top is the current month.
I do not want my calendar to start from current month, just want the scroll bar to adjust so that the current month is on the top.
Below is the code
<
div id="CalendarDiv" style="height:570px; width:160px; overflow:auto;" >
<telerik:RadCalendar ID="cldrVacation" runat="server" ShowRowHeaders="false"
FocusedDate="2007-01-01" FirstDayOfWeek="Sunday" MultiViewRows="12" SelectedDate=""
OnDayRender ="SetCalendarDays" AutoPostBack="True" OnHeaderCellRender="cldrVacation_HeaderCellRender"
UseColumnHeadersAsSelectors="False" EnableNavigation="False" OnSelectionChanged="cldrVacation_SelectionChanged"
EnableRepeatableDaysOnClient="False" SingleViewRows="7" ShowOtherMonthsDays="False"
EnableEmbeddedBaseStylesheet="false" TitleStyle-CssClass ="calendarTitleNoDisplay" >
</telerik:RadCalendar>
</div>
Thanks,
Saifee.A