Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
ASP.NET
<asp:Calendar id="Calendar1" OnDayRender="CalendarDRender" runat="server" BorderWidth="1px" NextPrevFormat="FullMonth" BackColor="White" Width="350px"ForeColor="Black" Height="190px" Font-Size="9pt" Font-Names="Verdana" BorderColor="White">
<todaydaystyle backcolor="#CCCCCC"></todaydaystyle>
<nextprevstyle font-size="8pt" font-bold="True" forecolor="#333333" verticalalign="Bottom"></nextprevstyle>
<dayheaderstyle font-size="8pt" font-bold="True"></dayheaderstyle>
<SelectedDayStyle ForeColor="White" BackColor="#333399"></SelectedDayStyle>
<TitleStyle Font-Size="12pt" Font-Bold="True" BorderWidth="4px" ForeColor="#333399" BorderColor="Black" BackColor="White"></TitleStyle>
<othermonthdaystyle forecolor="#999999"></othermonthdaystyle>


After writing this calendar code in ASP i get the above error. can any one please help me to solve this.
Thanks in advance.
Posted
Updated 27-Jul-11 9:44am
v3

Width="350px"ForeColor="Black" Has no space between the attributes
 
Share this answer
 
Comments
sahabiswarup 27-Jul-11 16:05pm    
Thanks a lot
Your calendar tag is not closed, not in the code you posted, anyhow. And, you didn't tag your question ASP.NET.
 
Share this answer
 
Comments
sahabiswarup 27-Jul-11 15:38pm    
i added that but still getting that error
sahabiswarup 27-Jul-11 15:41pm    
don't know why my question is not posted here properly. Is that because its a html code?
alrosan 27-Jul-11 16:00pm    
from build menu click on clear solution or rebuild solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900