How to show a calendar on the page in ASP.NET?

 Posted by vishalneeraj-24503 on 6/8/2014 | Category: ASP.NET Interview questions | Views: 1323 | Points: 40

Dot net provides its own calendar control which is used for showing calender on the page.

This control displays a one-month calendar that allows the user to select dates and move to the next and previous months.

In other words,The Calendar Control shows the Current Month Dates and the Dates also of the previous and Next Month.

For Example:-
<asp:Calendar id="calDate" runat="server" BorderWidth="1px" NextPrevFormat="FullMonth" BackColor="LightYellow" Width="400px" ForeColor="Red" Height="170px" Font-Size="10pt" Font-Names="Verdana" BorderColor="Blue"></asp:Calendar>

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response