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

Aps.NET Calendar control Background

Hi! All

Can anyway we provide a backgroud image to ASP.NEt Calendar control??

Thanks in advance.

Regards,
Baren
Mar 18 '06 #1
2 1318
Hi Baren,

Sure, just add an attribute:

Protected Sub Page_Load _
(ByVal sender As Object, _
ByVal e As System.EventArgs)
Calendar1.Attributes.Add("background", _
"http://www.gc.ca/images/rollingflag.jpg")
End Sub

Let us know if this helps?

Ken
Microsoft MVP [ASP.NET]
"Baren" <Ba***@discussions.microsoft.com> wrote in message
news:DA**********************************@microsof t.com...
Hi! All

Can anyway we provide a backgroud image to ASP.NEt Calendar control??

Thanks in advance.

Regards,
Baren

Mar 19 '06 #2
Hi! Ken,

Thanks a lot...

Regards,
Baren

"Ken Cox - Microsoft MVP" wrote:
Hi Baren,

Sure, just add an attribute:

Protected Sub Page_Load _
(ByVal sender As Object, _
ByVal e As System.EventArgs)
Calendar1.Attributes.Add("background", _
"http://www.gc.ca/images/rollingflag.jpg")
End Sub

Let us know if this helps?

Ken
Microsoft MVP [ASP.NET]
"Baren" <Ba***@discussions.microsoft.com> wrote in message
news:DA**********************************@microsof t.com...
Hi! All

Can anyway we provide a backgroud image to ASP.NEt Calendar control??

Thanks in advance.

Regards,
Baren


Mar 20 '06 #3

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

Similar topics

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...
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: 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: ...
4
by: Nad | last post by:
Hello, I have a user control that has a button and a Calendar. Once you click on the button I display the calendar. Now when I move this user control to a web form, once I click on this button...
5
by: Peter | last post by:
Is it possible to span / display a graphic in the web calendar control that spans more than one cell / day? Does anyone have an example of this? Thanks Peter
2
by: serge calderara | last post by:
Dear all, I have a webform with a calendar control on it. When loaded the calendar is set to the current date. Depending on a criteria from a database field, calendar day cell appears with red...
0
by: Hardy Wang | last post by:
Hi All, I have a calendar control in my web form, <asp:Calendar ID="cal" runat="server" BorderStyle="Groove" ShowGridLines="True"> <TodayDayStyle CssClass="CalendarToday" /> <DayHeaderStyle...
6
by: Sridhar | last post by:
Hi, I need to display a calendar that shows all the months of an year. In that, I need to show different colors for certain events. I know how to display a calendar for a certain month but I am...
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...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
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,...
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...
0
agi2029
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,...
0
isladogs
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...

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.