473,606 Members | 2,409 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Calendar control questions

Jim
Is there a way to add a user-defined column to the calendar control? For instance, I would like to give the user the ability to select a week at a time or daily tasks for a scheduling application I am working on. Below is a illustration of what I am asking for.

Week 1 | Day 1 | Day 2 | Day 3 | Day 4 | Day 5 | Day 6 | Day 7
*all of these will be links that will load a control into a panel that will contain all the information for the desired week or days.

Any information would be greatly appreciated.
Nov 18 '05 #1
2 1061
Jim wrote:
Is there a way to add a user-defined column to the calendar control? For instance, I would like to give the user the ability to select a week at a time or daily tasks for a scheduling application I am working on. Below is a illustration of what I am asking for.

Week 1 | Day 1 | Day 2 | Day 3 | Day 4 | Day 5 | Day 6 | Day 7
*all of these will be links that will load a control into a panel that will contain all the information for the desired week or days.

Any information would be greatly appreciated.


Not that I know of, easily. You could override DayRender and insert
your own controls and add handlers, etc. for each linkbutton as
appropriate. For the week selector, it may look a little goofy, as
whatever you output on a Sunday will still be under the Sunday header
(column), but you could fiddle w/ the layout.

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Nov 18 '05 #2
Here is a sample code for customizing calendar control, you can also follow
the similar approach,
http://www.aspnet101.com/aspnet101/a...code=calChange

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:79******** *************** ***********@mic rosoft.com...
Is there a way to add a user-defined column to the calendar control? For instance, I would like to give the user the ability to select a week at a
time or daily tasks for a scheduling application I am working on. Below is
a illustration of what I am asking for.
Week 1 | Day 1 | Day 2 | Day 3 | Day 4 | Day 5 | Day 6 | Day 7
*all of these will be links that will load a control into a panel that will contain all the information for the desired week or days.
Any information would be greatly appreciated.

Nov 18 '05 #3

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

Similar topics

16
3043
by: DFS | last post by:
If you're listening, I want the middle of the calendar (showing 1 month) to open below the cursor position. It currently opens just to the right and below the cursor position. I hunted through the code, but can't determine what to alter. Very nice piece of work, by the way. Thanks
3
3243
by: | last post by:
Hi!! Did Infragistics or some other company else provide a web calendar conrol with the features and look of Microsoft Outlook calendar? I mean that feature that you can choose Day / Work Week / Week / Month view of the calendar. regards, gicio
5
4594
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 Color 3. Foreground Color 4. Border Tickness 5. Border Color
2
3406
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:
1
2998
by: xian2 | last post by:
Hi, I wanted to create a calendar in Access that would call on data stored within tables in the database (dates in forms) and would show it visually on a calendar when the calendar was opened. I was told about calendar control fundtion and created a calendar in a form but cannot work out how to call on the data within the tables so it appears as an entry in the calendar when the calendar is opened. Please can you give me some advice on...
5
2298
by: MOC835 | last post by:
I have calendar control that I am trying to use on a continuous subform to select two dates. My MainForm collects user data, and the continuous SubForm collects two dates for that specific user...an IssueDate and a ReturnDate. I am trying to give the user the option of entering the date into the date field text box, or clicking a button next to the text box to open a seperate form with a calendar in it (frmCalendar).
3
2719
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 assist with this. Thanks in advance. I have an access database that i have added a pop up calendar to, the Table information for the Date Reported field is Date/Time format short date, input mask is 00/00/0000.
1
1756
by: neosam | last post by:
Hi, Here I come again with my silly questions.... I am now working on a calendar control and i am able to put in the control and also link it to a field, but i keep getting a error message in VB Script as "You can't assign a value to this object". The code that i have written is : Private Sub DateCBox_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) ocxCalendar.Visible = True ocxCalendar.SetFocus If Not...
7
2289
by: William (Tamarside) | last post by:
Please, if you have the time and knowledge to help me I'd truly appreciate it! I need to build a calendar page that displays available/unavailable info from a DB and colour a cell according to that info, but somewhere I've gone completely off the rails! Basically it is a room availability page for an intranet and should simply colour a calendar cell red if the room is booked, or green if it isn't. Rooms are typically booked by lecturers...
0
8016
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, 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...
0
7955
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8096
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,...
0
8306
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 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...
1
5966
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 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...
0
5466
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();...
0
3980
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2448
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
1
1557
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.