How to create calendar control

I need to create a calendar control that needs to be added to our companion app (I know there are quite a few calendar controls out there already, but I will develop my own ...).

How do I start, should I use some kind of table to display days, or should I draw my own grid entirely? How can I do this (I don't need rdy-to-use code, I just need ideas ...)

The app is written in C # as a WindowsForms app (thanks for the hint, forgot to mention this in the first case ...)

+2


a source to share


2 answers


After seeing your comment about WinForms and:

I need to develop my own because it needs to be integrated into an existing application, I need full access to styling and functionality

makes me suggest to use the pre- made project http://www.codeproject.com/KB/selection/MonthCalendar.aspx and modify it if necessary. I am using it in my little project and it works like a charm. It provides a complete source if needed, so you can easily integrate it and modify it if you think it isn't fit

.



After all, if you don't use it, you can max out on the sources and functions it implements and do it your way.

It's a little pointless for me to redo it from scratch, especially with such a good / free one.

+2


a source


If you are developing a web application, I would seriously look at using jquery. Good calendar control needs to be done on the client side, so I would look at some form of java script. If you look at jquery-calendar.js for a good example, you will see the difficulty in developing your own controls.



0


a source







All Articles