473,382 Members | 1,329 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Calendar Style

Hi all,

I am trying to apply a background color to the cell containing the Calendard
Month.
I have tried a number of things to no avail; the title style can be changed
via the Title Style property.
However when i set width of the Calendar Control to 300 * 300, all i see
behind the title is
a grey background?

I can't seem to change the background color of the cell containing the
calendar title.

Any thoughts?

<asp:Calendar BackColor="#000000" CellPadding="0" CellSpacing="0"
CssClass="calendar" ID="calBookingDate" Height="300" Width="300"
runat="server" >
<DayHeaderStyle CssClass="calendar_day_header"/>
<DayStyle CssClass="calendar_day"/>
<SelectedDayStyle CssClass="calendar_selected_day"/>
<SelectorStyle CssClass="calendar_title"/>
</asp:Calendar>
Cheer Adam
Feb 27 '06 #1
1 1774
DWS
Adam,
combination of OtherMonthDayStyle + TitleStyle.

Good Luck
DWS
"Mr Ideas Man" wrote:
Hi all,

I am trying to apply a background color to the cell containing the Calendard
Month.
I have tried a number of things to no avail; the title style can be changed
via the Title Style property.
However when i set width of the Calendar Control to 300 * 300, all i see
behind the title is
a grey background?

I can't seem to change the background color of the cell containing the
calendar title.

Any thoughts?

<asp:Calendar BackColor="#000000" CellPadding="0" CellSpacing="0"
CssClass="calendar" ID="calBookingDate" Height="300" Width="300"
runat="server" >
<DayHeaderStyle CssClass="calendar_day_header"/>
<DayStyle CssClass="calendar_day"/>
<SelectedDayStyle CssClass="calendar_selected_day"/>
<SelectorStyle CssClass="calendar_title"/>
</asp:Calendar>
Cheer Adam

Feb 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: vinu | last post by:
I have a javascript file named select.js. This is a file which is use to pop up a calendar, when clicked on a calendar icon in an ASP file. have a close button in the calendar. When i click on the...
19
by: Stimp | last post by:
preferably one that when clicked can update three date dropdowns (day, month, year) like http://www.visitdublin.com/carhire/avis.asp Don't mind paying for the file... anyone seen something...
5
by: Miguel Dias Moura | last post by:
Hello, i am trying to create a .css file with several styles and apply them to the calendar control so i can change the look of: 1. Text Type and Format (Bold, Underline, etc) 2. Background...
0
by: GV | last post by:
Hi all, New to developing in VS 2005 ASP 2.0 Trying to have a easy pop calender for a button on a web page. I keep getting a error message in IE6 that says: Line 69 Char 3 Error:...
0
by: abhishekbrave | last post by:
Hi, I have to reuse the code given below for displaying a calendar according to the month and year specified by user ...currently this code is fetching systme date and genrating calendar for that......
4
by: gubbachchi | last post by:
Hi all, Please anybody help me solve this problem. I am stuck up with this from past 2 weeks. I am developing an application where, when the user selects date from javascript datepicker and enters...
4
by: abhishekbrave | last post by:
Below is the java code for getting a calendar for current date. I have to reuse it for the month and year entered by user..* My query is how to pass month and year from user and in which format to...
1
by: abhishekbrave | last post by:
The code below is opening a calendar on mouse over in the same window. I need the calendar to be opened in new window. Have to fulfill this requirement urgentely so posting the whole code here. I...
1
by: swethak | last post by:
Hi, I am desiging the calendar application for that purpose i used the below code. But it is for only displys calendar. And also i want to add the events to calendar. In that code displys the...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.