How to specify the Selection mode so that user can select entire month, entire week in ASP.NET ?

 Posted by Vivek.Ramapuram on 5/19/2015 | Category: ASP.NET Interview questions | Views: 596 | Points: 40
Answer:

If we want to provide option to the user to select entire week or month of the calendar.
ASPX PAGE:
<asp:Calendar ID="Calendar1" runat="server" SelectionMode="DayWeek"  />

The selection mode can be specified by setting the SelectionMode property of the Calendar control. By default the selection mode is “Day”.


Asked In: While Learning | Alert Moderator 

Comments or Responses

Login to post response