Link to home
Start Free TrialLog in
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

SOLUTION
Avatar of copyPasteGhost
copyPasteGhost
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CharlieDev

ASKER

Thanks :)