Results 1 to 6 of 6

Thread: datepicker event

Hybrid View

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2011
    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 2004
    Location
    Inside the CPU...
    Posts
    6,614

    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 Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    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

    Thread Starter
    Member
    Join Date
    Nov 2011
    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
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    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
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: datepicker event

    Thread moved and renamed

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

    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

    Free online tools

Posting Permissions

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



Click Here to Expand Forum to Full Width