How to highlight current date in calendar control in asp.net C#,
In this article, I will show you that how to
highlight Today date in the calendar. We have just change some property of
calendar control and we can get this thing. We can just use the below code :
Frist is :- (Source Code)
<asp:Calendar ID="Calendar1"
runat="server"
TodayDayStyle-BackColor="blue"
TodayDayStyle-ForeColor="Red"
TodayDayStyle-Font-Bold="true"/>
Second is: - (Source code)
<asp:Calendar ID="Calendar2" runat="server">
<TodayDayStyle BackColor="blue " ForeColor="Red" Font-Bold="true" />
</asp:Calendar>
Out Put:-
How to highlight current date in calendar control in asp.net C#,
Reviewed by NEERAJ SRIVASTAVA
on
6:05:00 PM
Rating:
No comments: