Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2005

Tip: Looking for answers? Try searching our database.

DateTimePicker

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
systemConsultant - 19 Aug 2005 17:08 GMT
I have a DateTimePicker on an Add/Edit Form...
When the form is loaded the DTPicker is assigned Now in a ShortDate Value if
Adding, or the ShortDate from SQL Server when Editing.
When Adding, any date can be selected and works as expected.
But,
When editing I can only change the date by entering text in the DTPicker.
I cannot click on a day, month, etc. from the dropdown  - the value does not
change.
systemConsultant - 22 Aug 2005 15:00 GMT
OK, I was NOT setting the Value of the DateTimePicker in my Add Procedure.  
Now I am and now the problem is with both modes (Add/Edit).  Whenever I set
the Value of the DateTimePicker at runtime it is not Editable using the
Dropdown.  Any changes to the DateTimePicker must be typed into the TextBox
of the control.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.