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

calendar control MonthChangedEventArgs

hey all,
is there a way to convert/cast MonthChangedEventArgs to EventArgs?
thanks,
rodchar
Oct 31 '07 #1
3 1486
rodchar,

You don't have to do anything to cast it. Since MonthChangedEventArgs
derives from EventArgs, you can assign an instance of MonthChangedEventArgs
to an EventArgs variable without a cast.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:73**********************************@microsof t.com...
hey all,
is there a way to convert/cast MonthChangedEventArgs to EventArgs?
thanks,
rodchar

Oct 31 '07 #2
Hi rodchar,

But what a reason? EventArgs doesn't have useful information. Using EventArgs.Empty
instead.

Regards, Alex
[TechBlog] http://devkids.blogspot.com

rhey all,
ris there a way to convert/cast MonthChangedEventArgs to EventArgs?
rthanks,
rrodchar
Oct 31 '07 #3
Hi Nicholas,

Just to precise: if rodchar said about web MonthChangedEventArgs (http://msdn2.microsoft.com/en-us/lib...eventargs.aspx)
then it is not derived from EventArgs, or we are talking about something
else? :)

Regards, Alex
[TechBlog] http://devkids.blogspot.com

Nrodchar,
N>
NYou don't have to do anything to cast it. Since
NMonthChangedEventArgs derives from EventArgs, you can assign an
Ninstance of MonthChangedEventArgs to an EventArgs variable without a
Ncast.
N>
N"rodchar" <ro*****@discussions.microsoft.comwrote in message
Nnews:73**********************************@microso ft.com...
N>
>hey all,
is there a way to convert/cast MonthChangedEventArgs to EventArgs?
thanks,
rodchar

Oct 31 '07 #4

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...
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...
8
by: tfsmag | last post by:
i need to create a date range based on the current "shown" month on a calendar control to query a database and populate a datagrid based on that date range. how can i retrieve the "shown" month...
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: RAB | last post by:
I want to make my calendar control only be able to change the month for the current year. ie I want to be able to scroll to Feb 07, Jan 07 but not to Dec 06. Any ideas of how to set this...
7
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...
1
by: Garg | last post by:
Hi i want to disable soem months in my calendar control. I dont want to display certain months at all in my calendar. How do i do that? Shivani
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
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
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
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.