Mega Code Archive

 
Categories / ASP.Net / Asp Control
 

Formatting Date Sections in a Calendar Control (VB net)

<%@ Page Language=VB Debug=true %> <HTML> <HEAD> <TITLE>Formatting Date Sections in a Calendar Control</TITLE> </HEAD> <BODY LEFTMARGIN="40"> <form runat="server"> Select a Date <BR><BR> <asp:Calendar      id="Mycal"      runat="server"     cellpadding="3"     cellspacing="3"     daynameformat="Short"     firstdayofweek="Default"     nextprevformat="FullMonth"     titleformat="MonthYear"     font-name="Tahoma"     font-size="12"     backcolor="ivory"     todaydaystyle-Font-Bold="True"     todaydaystyle-backcolor="Yellow"     selecteddayStyle-backcolor="#ffcc66"     selecteddayStyle-font-bold="True"     weekenddaystyle-font-italic="True"     weekenddaystyle-forecolor="Red"     othermonthdaystyle-font-italic="True"     othermonthdaystyle-backcolor="white"     othermonthdaystyle-forecolor="gray" /> </form> </BODY> </HTML>