Click here to Skip to main content
15,894,362 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
i am using code to change the color of .ajax__calendar_next and cal_Theme1 .ajax__calendar_prev
the below class is chnage the color of .ajax__calendar_title only but not on the .ajax__calendar_next and cal_Theme1 .ajax__calendar_prev

CSS
.cal_Theme1 .ajax__calendar_title, .cal_Theme1 .ajax__calendar_next, .cal_Theme1 .ajax__calendar_prev
       {
           color: #ffffff ;
 }

how we can change the color of .ajax__calendar_next and cal_Theme1 .ajax__calendar_prev
plz help me
Posted

This should work:
CSS
.cal_Theme1 .ajax__calendar_title,
.cal_Theme1 .ajax__calendar_next,
.cal_Theme1 .ajax__calendar_prev {
    color: #004080; 
}

Have a look at details and example here: Customized AJAX Calendar Control CSS Example[^]
 
Share this answer
 
<asp:textbox id="txtDOJ" runat="server" bordercolor="LightGray" borderstyle="Solid" xmlns:asp="#unknown">
                                                                                  Width="303px" BorderWidth="1px"  AutoPostBack="False"&gt;&lt;/asp:TextBox>


                                                       <cc1:calendarextender id="CalendarExtender1" runat="server" targetcontrolid="txtDOJ" xmlns:cc1="#unknown">
                                                           Format="dd MMM yyyy">
                                                       </cc1:calendarextender>
                                                       <asp:regularexpressionvalidator id="RegularExpressionValidator5" runat="server" controltovalidate="txtDOJ">
                                                           ErrorMessage="Invalid Format" ValidationExpression="^((31(?!\ (Feb(ruary)?|Apr(il)?|June?|(Sep(?=\b|t)t?|Nov)(ember)?)))|((30|29)(?!\ Feb(ruary)?))|(29(?=\ Feb(ruary)?\ (((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)))))|(0?[1-9])|1\d|2[0-8])\ (Jan(uary)?|Feb(ruary)?|Ma(r(ch)?|y)|Apr(il)?|Ju((ly?)|(ne?))|Aug(ust)?|Oct(ober)?|(Sep(?=\b|t)t?|Nov|Dec)(ember)?)\ ((1[6-9]|[2-9]\d)\d{2})$"
                                                           ValidationGroup="AddEmp"></asp:regularexpressionvalidator></asp:textbox>


Hope this can help you.
 
Share this answer
 

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