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).


<January 2019>
SunMonTueWedThuFriSat
303112345
6789101112
13141516171819
20212223242526
272829303112
3456789


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...]