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 4599
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******** *****@TK2MSFTNG P11.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******** ******@tk2msftn gp13.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******** *****@TK2MSFTNG P11.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 "SelectedDateSt yle". 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******** ********@tk2msf tngp13.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******** ******@tk2msftn gp13.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******** *****@TK2MSFTNG P11.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 misunderstandin g 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 "SelectedDateSt yle". 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******* *********@tk2ms ftngp13.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******** ******@tk2msftn gp13.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******** *****@TK2MSFTNG P11.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******** ******@TK2MSFTN GP12.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....mayb e 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******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP09.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:.... dayBackgroundCo lor:... 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.c om... > Actually, Im afraid you are misunderstandin g 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 "SelectedDateSt yle".
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******* *********@tk2ms ftngp13.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******** ******@tk2msftn gp13.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******** *****@TK2MSFTNG P11.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 an example of the code I'm using for the controls.
Private Sub DateSold_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
SoldCal.Visible = True
|
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 Sale")
in a database, and when the page is requested, load the calendar. Users
would ideally view an entire month, and a short description of an event
within a specific date. More than one event will be listed for some dates,
with a brief description displayed in the calendar. I'd like to enable...
|
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. During the "Edit" command of
the grid, I have the following code:
<code>
If e.CommandName = "Edit" Then
Dim myDatagridItem As DataGridItem
Dim lblStartDate As Label
Dim lblEndDate As Label
|
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 controls (i.e.
roundedcorners component www.4guysfromrolla.com], buttons and
panels) functions like a tab control. The buttons are programmatically
designed to make the corresponding panel visible.
Sample aspx.vb code:
|
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 controls (i.e.
roundedcorners component www.4guysfromrolla.com], buttons and
panels) functions like a tab control. The buttons are
programmatically designed to make the corresponding panel visible.
Sample aspx.vb code:
| |
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 situation, assume a page with 4 controls. A dropdownlist, a
calendar control, a textbox and an update button. What I'm doing is
initially setting the button to disabled, the other 3 controls are enabled.
If any data is entered in the textbox, I want to disable the dropdownlist
and the calendar...
|
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 changed.
<atlas:ScriptManager ID="ScriptManager1" runat="server"
EnablePartialRendering="true"/>
<atlas:UpdatePanel runat="server" ID="UpdatePanel1" Mode="Conditional">
<ContentTemplate>
After inserting this code, my calendar stopped working in that if I clicked
on a date, nothing would...
|
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 JavaScript calendar
that was being used in an older ASP version of the application. The
javascript version worked nicely -- you click on a calendar.gif in an anchor
next to a textbox. The calender would pop up in a new window, you select the
date, the calendar window would close and the textbox would be...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |