473,395 Members | 2,151 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,395 software developers and data experts.

add style at a calendar control

Someone can suggest how i can add CCS Style, from an external
files .css, at a typical asp.net 2 Calendar Control

<asp:Calendar ID="Calendar1" runat="server"
OnDayRender="Calendar1_DayRender" BackColor="White"
BorderColor="Black"
DayNameFormat="Shortest" Font-Names="Trebuchet MS ,Tahoma, Helvetica,
sans-serif;"
Font-Size="9pt" ForeColor="Black"
Height="148px" Width="177px" NextPrevFormat="FullMonth"
TitleFormat="Month">
<SelectedDayStyle BackColor="#CC3333"
ForeColor="White" />
<SelectorStyle BackColor="#CCCCCC" Font-
Bold="True" Font-Names="Trebuchet MS ,Tahoma, Helvetica, sans-serif;"
Font-Size="8pt" ForeColor="#333333"
Width="1%" />
<TodayDayStyle BackColor="#CCCC99" />
<OtherMonthDayStyle ForeColor="#999999" />
<NextPrevStyle Font-Size="8pt"
ForeColor="White" />
<DayHeaderStyle BackColor="#CCCCCC" Font-
Bold="True" Font-Size="7pt" ForeColor="#333333"
Height="10pt" />
<TitleStyle BackColor="Black" Font-
Bold="True" Font-Size="13pt" ForeColor="White"
Height="14pt" />
<DayStyle Width="14%" />
</asp:Calendar>

What can write in css sheet?

thanks

Luigi
Oct 16 '08 #1
0 877

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

Similar topics

1
by: COmbined | last post by:
Does anyone know of a control (freeware or commercial) that has a swing based implementation of a calendar control that I can use for recording bookings for objects Thanks Combined
0
by: Tim Graichen | last post by:
Hello, I am making use of the Active X calendar control (mscal.Calendar.7) in several places in my main form, with the following code Below is an example of the code I'm using for the...
1
by: bill yeager | last post by:
I would like to place the currently selected date (retrieved from the database) on a calendar control which is embedded inside a datagrid. However, I can't find the ID of the control to do so....
0
by: maxrawson | last post by:
First, let me start by saying my asp.net experience is still in it's infancy so please bare with me as I try to explain my situation. I have created a single page that with the use of many...
2
by: Caesar Augustus | last post by:
First, let me start by saying my asp.net experience is still in it's infancy so please bare with me as I try to explain my situation. I have created a single page that with the use of many...
0
by: Martin Bischoff | last post by:
Hi, I have a problem setting the style of a calendar control using style sheets. Example: I have set the calendar control's property TodayDayStyle-CssClass to "today". In my .css I have: ...
3
by: Peter | last post by:
Is there anyway to make the System.Web.UI.WebControls.Calendar to display only Month Name and Year, like: January, 2006 February, 2006 ..... .... .... ....
1
by: Mr Ideas Man | last post by:
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...
3
by: thorpk | last post by:
I posted this problem earlier in the month and some one decided it was better to change the subject and ask a completely different question. I am therefore reposting. I am hoping some one can...
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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.