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 Color
3. Foreground Color
4. Border Tickness
5. Border Color
6. Calendar Size and each field size
I want to change this items to all the areas, such as Title, Day, Weekend,
etc.
Can you help me out?
Thank You,
Miguel 5 4486
Have you even looked at the various properties that a Calendar control has?
I am guessing no because everything you want to do can be set by simply
setting the various properties.
"Miguel Dias Moura" <in************@27lamps.com> wrote in message
news:uy*************@TK2MSFTNGP11.phx.gbl... 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 Color 3. Foreground Color 4. Border Tickness 5. Border Color 6. Calendar Size and each field size
I want to change this items to all the areas, such as Title, Day, Weekend, etc.
Can you help me out?
Thank You, Miguel
Yes sure i looked and i allready did it. But i wanted to create CSS styles
so i could use, reuse it and change it in an easy way.
That's what i am looking for. To format the way i just did but using css
Thanks,
Miguel
"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:u1**************@tk2msftngp13.phx.gbl... Have you even looked at the various properties that a Calendar control
has? I am guessing no because everything you want to do can be set by simply setting the various properties.
"Miguel Dias Moura" <in************@27lamps.com> wrote in message news:uy*************@TK2MSFTNGP11.phx.gbl... 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 Color 3. Foreground Color 4. Border Tickness 5. Border Color 6. Calendar Size and each field size
I want to change this items to all the areas, such as Title, Day,
Weekend, etc.
Can you help me out?
Thank You, Miguel
Miguel, I don't think you are following me here....
You don't use CSS directly on a server control such as the calendar. You
use whatever properties it exposes such as "SelectedDateStyle". When the
control is rendered to the browser, those properties will be translated into
the appropriate CSS commands since all server controls render to the client
as HTML/JavaScript/CSS.
If you use the properties, there is no reason you wouldn't still be able to
use, reuse and change it easily.
"Miguel Dias Moura" <in************@27lamps.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Yes sure i looked and i allready did it. But i wanted to create CSS styles so i could use, reuse it and change it in an easy way. That's what i am looking for. To format the way i just did but using css
Thanks, Miguel
"Scott M." <s-***@BADSPAMsnet.net> wrote in message news:u1**************@tk2msftngp13.phx.gbl... Have you even looked at the various properties that a Calendar control has? I am guessing no because everything you want to do can be set by simply setting the various properties.
"Miguel Dias Moura" <in************@27lamps.com> wrote in message news:uy*************@TK2MSFTNGP11.phx.gbl... 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 Color 3. Foreground Color 4. Border Tickness 5. Border Color 6. Calendar Size and each field size
I want to change this items to all the areas, such as Title, Day, Weekend, etc.
Can you help me out?
Thank You, Miguel
Actually, Im afraid you are misunderstanding the issue.
The control may have nice little properties in it's own proprietary
method of setting styles, but most of the world currently uses style
sheets. Why reinvent what already exists? I think it is a fair
question to ask how to use a style sheet to render anything in the
..NET suite of components. Some of the items have this as a feature,
but others do not. It really should be available everywhere. Just
include a CSSStyle property on anything that the programmer has
control over (everything???)
On Sun, 7 Mar 2004 18:41:20 -0500, "Scott M." <s-***@BADSPAMsnet.net>
wrote: Miguel, I don't think you are following me here....
You don't use CSS directly on a server control such as the calendar. You use whatever properties it exposes such as "SelectedDateStyle". When the control is rendered to the browser, those properties will be translated into the appropriate CSS commands since all server controls render to the client as HTML/JavaScript/CSS.
If you use the properties, there is no reason you wouldn't still be able to use, reuse and change it easily.
"Miguel Dias Moura" <in************@27lamps.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl... Yes sure i looked and i allready did it. But i wanted to create CSS styles so i could use, reuse it and change it in an easy way. That's what i am looking for. To format the way i just did but using css
Thanks, Miguel
"Scott M." <s-***@BADSPAMsnet.net> wrote in message news:u1**************@tk2msftngp13.phx.gbl... > Have you even looked at the various properties that a Calendar control has? > I am guessing no because everything you want to do can be set by simply > setting the various properties. > > > "Miguel Dias Moura" <in************@27lamps.com> wrote in message > news:uy*************@TK2MSFTNGP11.phx.gbl... > > Hello, > > > > i am trying to create a .css file with several styles and apply themto > the > > calendar control so i can change the look of: > > > > 1. Text Type and Format (Bold, Underline, etc) > > 2. Background Color > > 3. Foreground Color > > 4. Border Tickness > > 5. Border Color > > 6. Calendar Size and each field size > > > > I want to change this items to all the areas, such as Title, Day, Weekend, > > etc. > > > > Can you help me out? > > > > Thank You, > > Miguel > > > > > >
Hi Miguel,
I can support the claim that sometimes the styles do not apply correctly on
the calendar control. I encountered the same problem with a project here.
The month name sometimes would not render with the class I had applied. It
is a strange problem and I did not find a solution...
Éric.
"Miguel Dias Moura" <in************@27lamps.com> wrote in message
news:OK**************@TK2MSFTNGP12.phx.gbl... Hi, i did see the several CSSClass properties applyied to the various aspects of its appearance but somehow when i used it, some of the styles didn't change...that's why i started looking for options....maybe i did something wrong.
Another problem i am having is to populate the calendar with events taken from an Access Database. I found a quite short example in http://www.macromedia.com/devnet/mx/...et_calendar_05. html
However, this example is in C# and i am having trouble in changing it to
VB which is how my web page is done.
Did you ever did something like this?
Thanks, Miguel
"Scott M." <s-***@BADSPAMsnet.net> wrote in message news:OE**************@TK2MSFTNGP12.phx.gbl... A calendar control is rendered as an HTML table with JavaScript attached via onClick event handlers.
To attach an external .css file, simply do what you've always done for styling tables. However, even if you don't set any properties in the control, it does come down with inline style applied to it, so you may have trouble overriding those with ones in the .css file.
Did you look at the fact that the control does have several "CSSClass" properties for various aspects of its appearance. You could make a CSS class and attach it to the various properties there.
"Miguel Dias Moura" <in************@27lamps.com> wrote in message news:Oa**************@TK2MSFTNGP09.phx.gbl... I will try to explain better.
In my web sites i set all text style, background, and so one using
style sheets witch i save in a .css file or in a database.
What i would like to know if i could set a style like this:
Calendar { dayFont:...... dayColor:.... dayBackgroundColor:... weekendColor:.... ... }
Then i would apply this .css to the control. This way, i could apply this .css to all the calendars i would create
or even change the .css file to change the look of the calendar control without having to change the calendar control tag.
Are my ideas wrong?
Thanks, Miguel
"Dan Brussee" <db******@nc.rr.com> wrote in message news:gm********************************@4ax.com... > Actually, Im afraid you are misunderstanding the issue. > > The control may have nice little properties in it's own proprietary > method of setting styles, but most of the world currently uses style > sheets. Why reinvent what already exists? I think it is a fair > question to ask how to use a style sheet to render anything in the > .NET suite of components. Some of the items have this as a feature, > but others do not. It really should be available everywhere. Just > include a CSSStyle property on anything that the programmer has > control over (everything???) > > > > On Sun, 7 Mar 2004 18:41:20 -0500, "Scott M."
<s-***@BADSPAMsnet.net> > wrote: > > >Miguel, I don't think you are following me here.... > > > >You don't use CSS directly on a server control such as the
calendar. You > >use whatever properties it exposes such as "SelectedDateStyle".
When the > >control is rendered to the browser, those properties will be translated into > >the appropriate CSS commands since all server controls render to
the client > >as HTML/JavaScript/CSS. > > > >If you use the properties, there is no reason you wouldn't still be able to > >use, reuse and change it easily. > > > > > >"Miguel Dias Moura" <in************@27lamps.com> wrote in message > >news:%2****************@tk2msftngp13.phx.gbl... > >> Yes sure i looked and i allready did it. But i wanted to create
CSS styles > >> so i could use, reuse it and change it in an easy way. > >> That's what i am looking for. To format the way i just did but
using css > >> > >> Thanks, > >> Miguel > >> > >> "Scott M." <s-***@BADSPAMsnet.net> wrote in message > >> news:u1**************@tk2msftngp13.phx.gbl... > >> > Have you even looked at the various properties that a Calendar control > >> has? > >> > I am guessing no because everything you want to do can be set
by simply > >> > setting the various properties. > >> > > >> > > >> > "Miguel Dias Moura" <in************@27lamps.com> wrote in
message > >> > news:uy*************@TK2MSFTNGP11.phx.gbl... > >> > > 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 Color > >> > > 3. Foreground Color > >> > > 4. Border Tickness > >> > > 5. Border Color > >> > > 6. Calendar Size and each field size > >> > > > >> > > I want to change this items to all the areas, such as Title, Day, > >> Weekend, > >> > > etc. > >> > > > >> > > Can you help me out? > >> > > > >> > > Thank You, > >> > > Miguel > >> > > > >> > > > >> > > >> > > >> > >> > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
by: Jeff S |
last post by:
I would like recommendations for implementing a calendar in an ASP.NET web
site. My plan is to store date and event information (e.g,, "Spring...
|
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,...
|
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...
|
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...
|
by: Robert Ladd |
last post by:
Hi,
I'm trying to disable the asp.net calendar control from a javascript
function, but it doesn't disable the doPostBack.
To simplify the...
|
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
........
|
by: =?Utf-8?B?UGFycm90?= |
last post by:
I applied the following Ajax code in my web page which has a calendar control
to keep my page from completely reloading everytime something was...
|
by: John Kotuby |
last post by:
Hi all,
I am trying to use a calendar server control which I have ID="Calendar1" in
the source code. What I am trying to do is emulate a...
|
by: concettolabs |
last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
|
by: better678 |
last post by:
Question:
Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct?
Answer:
Java is an object-oriented...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
|
by: CD Tom |
last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: Matthew3360 |
last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function.
Here is my code.
...
|
by: AndyPSV |
last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
|
by: Arjunsri |
last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
| |