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


<April 2019>
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011


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