A Simple Calendar Demo

This demo illustrates the default behavior of the ASP.NET Calendar control. Note that to move from one month to the next, you must click on the next or previous month links (the < and > to the left and right of the month name).


<February 2018>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728123
45678910


Source Code
<html>
<body>
    <form id="frmCalendar" runat="server">
        <table>
       	    <tr>
                <td>
                    <asp:Calendar id="cntCalendar" Runat="Server" Width="100%" />
            	</td>
            </tr>
        </table>
    </form>
</body>
</html>

[Return to the article...]