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
435
Multiple issue with XamDateTimeEditor
posted

We have two date controls as From and To and have validation of each date, if validation fails user should stay on the same field. Also we want date control to appear with date mask (  /  /    ) and dropdown icon.

I was able to do this with following settings and validation code with setting focus (not given here)

 <igEditors:XamDateTimeEditor DropDownButtonDisplayMode="Always"

 

 

DisplayMode="IncludeBoth" IsAlwaysInEditMode="True"/>

Issues that we are having now as below,

 

1. We used IsAlwaysInEditMode="True" to make the mask appear to the user without actually start entering the date. But this is causing date value not being notified to view model. This may be because IsAlwaysInEditMode="True" means EditModeStarted and EditModeEnded will be ignored with this setting.

2.  We used DropDownButtonDisplayMode="Always" to show the dropdown to the user without actually mouse over on the date control. This is causing user to leave the one date control with the business errored date to the other when user click the dropdown icon of the other date control.

Please guide us in the right direction, Thanks

Parents Reply Children