Mega Code Archive

 
Categories / ASP.Net / Asp Control
 

Formatting the Header Styles in a Calendar Control (VB net)

<%@ Page Language=VB Debug=true %> <script runat=server> </SCRIPT> <HTML> <HEAD> <TITLE>Formatting the Header Styles 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"     dayheaderstyle-font-bold="True"     dayheaderstyle-font-italic="True"     dayheaderstyle-forecolor="DarkBlue"         titlestyle-backcolor="#3366ff"     titlestyle-forecolor="white"     titlestyle-font-bold="True"     nextprevstyle-font-italic="True"     nextprevstyle-backcolor="Yellow" /> </form> </BODY> </HTML>