RadCalendar for ASP.NET

Multiview Mode Send comments on this topic.
See Also
Customizing Behavior > Multiview Mode

Glossary Item Box

Telerik RadCalendar can be easily configured to show more than one month in the calendar area. To enable this functionality you need to set the MultiViewColumns and MultiViewRows property to specify the number of month views at column/row.

 
The code below shows the configuration of the multi-view calendar on the screenshot:
ASPX Copy Code
<rad:radcalendar id="Radcalendar2" runat="server"
  
AutoPostBack="true"
  
...
  
MultiViewColumns= "2"
  
MultiViewRows="2"
  
...
<
/rad:radcalendar>
  
 Notice that MultiView calendar logic works only when AutoPostBack="true".

 

You can customize the every calendar view style by the CalendarTableStyle property of the RadCalendar the same way as single view RadCalendar. Here is a sample code how to display some space between the views:

ASPX Copy Code
<head runat="server">
<
style type="text/css">
.tableStyle
{
  margin: 5px;
}
</style>
</
head>
<
body>
<form id="form1" runat="server">
 
<div>
  
<rad:RadCalendar
   
ID="MultiCalendar1"
   
runat="server"
   
MultiViewColumns="3"
MultiViewRows="3"
   
AutoPostBack="true"
   
Skin="WebBlue">
     
<CalendarTableStyle CssClass="tableStyle" />
  
</ rad:RadCalendar>
 
</div>
</form>
</
body>  
  

 

See Also