Results 1 to 6 of 6

Thread: datepicker event

  1. #1
    Member
    Join Date
    Nov 11
    Posts
    34

    datepicker event

    The event I'm currently using for my datetimepicker dtp is the "value changed" event.

    However this does not fire when the user selects the same date again.

    Is there an event which also catching the above case.

    Also what are the manipulation events referring to?

    And I assume these events are the same in c# WPF as they are part of visual studio and not of the language.

  2. #2
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 04
    Location
    Inside the CPU...
    Posts
    6,474

    Re: datetimepicker event

    See if the CloseUp event could be of any help.
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog • 101 LINQ Samples • JSON Validator • XML Schema Validator • "How Do I" videos on MSDN • VB.NET and C# Comparison • Good Coding Practices • VBForums Reputation Saver • String Enum • Super Simple Tetris Game


    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  3. #3
    Member
    Join Date
    Nov 11
    Posts
    34

    Re: datetimepicker event

    Thank you, "Calender closed" is a bit closer to what I'm looking for.

    I added if dtp.selected != null to negate some errors when the user first opens and closes without picking a date.

    However this event still fires when the calender closes from the user clicking outside.

  4. #4
    .NUT jmcilhinney's Avatar
    Join Date
    May 05
    Location
    Sydney, Australia
    Posts
    80,748

    Re: datetimepicker event

    Um, do you actually mean a WPF DatePicker, rather than a Windows Forms DateTimePicker? If so then you have used the wrong name in your post and also you'd be better off posting in the WPF forum. You can use the Report Post icon to send a message to the mods to move this thread.

  5. #5
    Super Moderator Joacim Andersson's Avatar
    Join Date
    Jan 99
    Location
    Sweden
    Posts
    13,374

    Re: datepicker event

    Thread moved and renamed
    Joacim Andersson
    Microsoft MVP, MCSD, MCSE, Sun Certified Java Programmer
    If anyone's answer has helped you, please show your appreciation by rating that answer.
    I'd rather run ScriptBrix...
    Joacim's view on stuff.

  6. #6
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 02
    Location
    Eygelshoven
    Posts
    1,556

    Re: datepicker event

    There is no event, 'cause nothing happend
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •