I want to show a calendar.
Just show it, it doesn't need any functionality, apart from being able to have text in each day.
MS Calendar control looks OK, but, as far as I know, you can't add text to each day.
Any ideas.
Printable View
I want to show a calendar.
Just show it, it doesn't need any functionality, apart from being able to have text in each day.
MS Calendar control looks OK, but, as far as I know, you can't add text to each day.
Any ideas.
Anyone?:confused:
One solution would be to create your own control (although it would be difficult), or you could use the ms canander control, and then just make it so that when the user clicks on a date, it displays the text in a textbox (or label) below the control.
You could write your own control, it would not be too hard. Just setup a grid looking form and dynamically assign dates based on a month.
Hope this helps,
The problem with the control idea is that to make it look neat, you would need to hid the unused boxes. Along with figuring out where to place the first date, realigng the dates based on user options, etc, etc...
Here is something i threw together in about 10 minutes. Feel free to use and modify it. Its not great, but it demonstrates the concept.
Hope it helps,