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

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 7615

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

Similar topics

1
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...
3
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...
0
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...
0
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...
1
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...
0
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...
0
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...
8
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
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 :...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...

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.