473,657 Members | 2,358 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need to build a custom calendar control

Hello all:

I have a C# windows application that needs a custom calendar. I need this
calendar displayed as a month view. I also need the ability to
insert/manipulate images and text into each day cell. I will also need drag
and drop functionality for each item in the day. I figure there is two ways
to go about this; 1) create a user control for use in a windows form or 2)
use a web page in a web browser control. Which method would you use?

1) A user control would be my preference because I already have a library
of controls I'm using. However, I'm not certain how to go about creating
the cells, lines, borders and all. I did create a control that resembeled a
month view by using text labels across the top (m,t,w, etc) and then
bordered listboxes arranged in cols/rows that formed the day cells. This
could work, but there would be a lot of alignment code (resize and maximize,
etc.). Although, after looking at Outlooks calendar it seems those cells
are listboxes too... maybe I'm on the right track.

2) I've thought about using a web browser control and loading an XML page
(my target user will most likely not have an in-house web server). I've
already got a web browser control that loads a support page and downloads
page from my server. My preference would be to use an ASP.net page instead
of XML but I'm not sure how to load it into the browser control w/o a web
server to parse it. And I don't know how to get drag and drop to work with
the individual items in each day *in* a browser. I'm sure it can be done
and if this is the best route to go, then I'll figure it out.

Thanks for the help and consideration,
Mike
Nov 15 '05 #1
0 7648

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

Similar topics

1
2707
by: charliewest | last post by:
Is it possible to use the custom validation control to validate a calendar control via client-side script (in jscript)? I'm familiar with custom validation and client side script, and i am aware that the custom control cannot be wired automatically to the calendar control, but i cannot seem to "read" the value of the calendar control via jscript via any other means. Any ideas?
3
12676
by: charliewest | last post by:
Can someone recommend a fairly easy to use ASP.NET custom calendar control that makes it easy for the user to select the month and year - versus the inherent "paging" that is used in the default Web Control? For example, when i need to select the DOB (April 4, 1970), i need to page "left" endlessly.... I have found some controls on teh Web, but my programming level is intermediate, and i have not been able to get any of them to work...
0
1257
by: Lamar | last post by:
I made a Custom composite web control that incorporates a menu with buttons and an encapsulating table cell for the child controls that are within the custom control's tags in the HTML. All the controls that are between the opening and closing tags of my custom control work except for the calendar. You can select the date for the current month and all works fine. It returns the next page with the correct date highlighted but if you...
0
1059
by: Pavan | last post by:
Hi Group, I have created a custom calendar control with a layout of TextBox, Html Button & Calendar control. I have a property in the control, which sets or gets selected date of the calendar control (This is server side property). Now i have implemented the control in a way that user can alter the selected date of the control on client side (I have used java script for this) and the
1
2269
by: Peter | last post by:
I have a dilemna. Currently I have created a custom calendar webcontrol that a user can select and will dump the date along with some specialized information set in the tooltip. It actually is working great. However I am having the same second thoughts about the control as everyone else because of all the real estate it takes up so I would like to add a button to alternately hide/display the calendar control. The only problem is that if I...
0
1440
by: Julien | last post by:
Hi ! I'm creating a custom control, in which I would render an image with client-side script code to display/hide a calendar control which also belong to my custom control. In this control I've created properties to map onto my calendar UI properties like TodayDayStyle, DayStyle, NextMonthStyle, but I think I should add attributes to these properties to make my control more useable when I will insert it in my pages. For example, I've...
0
1095
by: Damian | last post by:
I have created a custom calendar control for use in a VS 2005 wizard, which consists of a label, a textbox and a calendar control. When I select a date on the calendar control the textbox is updated with the date. If i move to a new wizardstep and select a date on the custom calendar control and select a date on one of the custom controls on that step I lose the instance of the custom calender control on the first wizard step. I...
8
3916
by: Radu | last post by:
Hi. I have an ASP control on my page: <asp:Calendar ID="calStart" ................ Etc </asp:Calendar> and I have a Custom Validator defined as <asp:CustomValidator
3
2147
by: aashishn86 | last post by:
var weekend = ; var weekendColor = "#e0e0e0"; var fontface = "Verdana"; var fontsize = 1; var gNow = new Date(); var ggWinCal; isNav = (navigator.appName.indexOf("Netscape") != -1) ? true : false; isIE = (navigator.appName.indexOf("Microsoft") != -1) ? true : false;
0
8323
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,...
0
8739
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8513
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
7351
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, 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...
1
6176
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
5638
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
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2740
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 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.