Home Forums WPF controls Xceed DataGrid for WPF DatePicker control

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

    Hi there

    I am trying to use your DatePicker control in my application. I am binding the SelectedDate to a nullable DateTime

    When I click on the toggle button, the calendar is displayed but it defaults to 1/1/0001. I know there is a “Today” button but is there anyway to get it to default to today… I cannot see the property for this

    Thanks
    Neil

    Imported from legacy forums. Posted by nmosafi (had 3930 views)

    Xceed Support
    Member
    Post count: 5658

    Hi,

    You can try setting the DisplayedMonth and DisplayedYear properties to DateTime.Now.Month and DateTime.Now.Year.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 361 views)

    User (Old forums)
    Member
    Post count: 23064

    Hmm that doesn’t seem to work at all in conjunction with a bound SelectedDate property?

    Imported from legacy forums. Posted by nmosafi (had 343 views)

    Xceed Support
    Member
    Post count: 5658

    There effectively seems to be a problem there.

    I have filed a bug report, thank you for your feedback.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 380 views)

    User (Old forums)
    Member
    Post count: 23064

    This issue has been resolved in version 1.1 of the dataGrid :

    http://download3.xceedsoft.com/Packages/3.0.7264.16200/XceedComponents.exe

    Thanks for submitting the issue !

    Imported from legacy forums. Posted by Matt (had 5138 views)

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