Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
950
Bindind with XamDateTimeEditor
posted

I TRY bind and format a datetime in a XamDateTimeEDITOR that is not good.

I think I have a problem of countries ( I am french )

<igEditors:XamDateTimeEditor Name="XDatePrevDu" Text="{Binding Path=Ch_DatPrevDu}" Mask="{}{dd/mm/yyyy}" FontWeight

Thank you for help

Caisseodev

 

Parents
  • 34510
    Offline posted

    Hi Caisseodev,

    Part of the problem might be that you are binding the Text property to what I assume to be a DateTime object.  Try using the Value property instead of Text. 

    As for the mask, trying using "{}{date}" instead.  As long as the culture of your application is set to French the date will be displayed as dd/mm/yyyy.

    Let me know if you have any questions on this.

Reply Children