Wrox Programmer Forums
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 6th, 2004, 11:09 AM
Authorized User
Join Date: Jun 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Default Vb.net Calendar Control

Dear USers,

I have place the calendar control on a window form, and direct the users to click and draw; to query several dates. These dates are then shown in Textboxs below the calendar. I also have a clear button which clears the textboxs, so the users can refresh the dates they want to view. Does anyone know how to refresh the calendar? Or make the calendar go to todays date, when the clear button is hit. Because I can clear the text boxes, but the highlight dates stay the same!!!!
Old February 7th, 2004, 07:05 AM
Authorized User
Join Date: Jan 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts

If u want to select todays date just add the following code in the ur clear button action event code:
If the ur calender is <asp:calendar id="DateCalender1">
DateCalender1.SelectedDate = DateCalender1.TodaysDate;
I guess it should work.
Old January 17th, 2005, 01:42 AM
Registered User
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to vpalls Send a message via Yahoo to vpalls

Hi friends,
Here I got a Requirement,where i will be having the calender control,on below of every Date one Text box Should be placed,such that if 30 days in a Months 30 TextBoxes Should appear.In the Text box i will be placing the that Day's no of working hours..Please can any body suggest me? please advice me ur Comments are welcomed..

Suresh Kumar.v


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar Control in ASP.NET 2.0 midway11 ASP.NET 1.x and 2.0 Application Design 3 May 11th, 2007 05:26 PM
Problem with Microsoft Calendar Control in VB vgaya Pro VB 6 0 April 3rd, 2007 03:20 AM
Calendar Control in .NET akshay144 .NET Framework 1.x 1 December 18th, 2006 01:58 AM
Calendar control for ASP.NET App mishi ASP.NET 1.x and 2.0 Application Design 2 April 10th, 2005 05:23 AM
VB.NET Calendar cyndie VB.NET 1 January 21st, 2005 07:05 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.