Home Forums WPF controls Xceed DataGrid for WPF DatePicker Validation

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #25360 |

    hi there!

    is there any way of adding validation-functionality to the DatePicker-Control? In my project it would not make any sense to select dates greater than today’s.

    thanks in advance!

    Imported from legacy forums. Posted by Marc (had 3466 views)

    User (Old forums)
    Member
    Post count: 23064

    Can’t you use the standard WPF Validation?

    http://msdn2.microsoft.com/es-es/library/ms753962.aspx

    I think this is an issue of the binding, not particularly to the control you are using.

    Imported from legacy forums. Posted by Andrés (had 491 views)

    User (Old forums)
    Member
    Post count: 23064

    It would make sense if you can’t even select those dates in the calendar in the first place.

    Imported from legacy forums. Posted by nat (had 524 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi!

    You are right! I didn’t know about this feature before, since I am new to WPF.
    Thanks very much!

    Imported from legacy forums. Posted by Marc (had 395 views)

    User (Old forums)
    Member
    Post count: 23064

    Glad to be useful 😉

    Imported from legacy forums. Posted by Andrés (had 5863 views)

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.