Avatar of CharlieDev
CharlieDevFlag for United Kingdom of Great Britain and Northern Ireland asked on

asp.net calendar control-how to highlight a week

Hi
I have a calendar control and would like to highlight the whole week that we are currently in.
Anyone know how I do this?
Thanks


<asp:Calendar id="Calendar1" CssClass="fixturesCalendar" 
                             OnSelectionChanged="Date_Selected"
                             OnDayRender="calEvents_DayRender"
                             NextPrevFormat="CustomText"
                             NextMonthText="<img src='../images/arrowR.gif' />"
                             PrevMonthText="<img src='../images/arrowL.gif' />"
                             SelectedDayStyle-CssClass="selectedDate"
                             SelectWeekText="
                              
                             DayStyle-CssClass="dayItem"
                             BackColor ="White"
                             runat="server">
                           <TodayDayStyle />
                           <DayHeaderStyle Font-Bold="True"/>
                           <OtherMonthDayStyle ForeColor="gray"/>
                           <TitleStyle BackColor="#ffffff"
                                       ForeColor="#000"
                                       Font-Bold="True"
                                       />
 
                           <NextPrevStyle ForeColor="#000"
                                          Font-Size="12px"/>
                           <SelectorStyle BackColor="#336633" 
                                          ForeColor="navy"
                                          Font-Size="9px"/>
                   </asp:Calendar>

Open in new window

ASP.NET

Avatar of undefined
Last Comment
CharlieDev

8/22/2022 - Mon
SOLUTION
copyPasteGhost

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER CERTIFIED SOLUTION
JacobBushong

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
CharlieDev

Thanks :)
Your help has saved me hundreds of hours of internet surfing.
fblack61