how to use validation on moderndialog

Oct 15, 2013 at 3:45 PM
on moderndialg, validation works well ,but it has a problem which is not correct show the red

border around the control and doesn't show the red message on the right of the control

i test this o moderndialog, not good

i also test this on page ,works well

i'll appreciate the help
Oct 15, 2013 at 5:09 PM
Edited Oct 15, 2013 at 5:09 PM
you may have to add a template for that? i had the same problem with passwordBox and i solved it by using a Helper and adding a control template to the xaml file
see this discussion
Mar 24, 2014 at 10:21 AM
Edited Mar 24, 2014 at 10:22 AM
The template is there, you don't need to create one on your own (unless you want something better suited for you). You might need to put your modern dialog content inside an adorner decorator:
<AdornerDecorator>
.. your UserControl xaml
</AdornerDecorator>
That should do the trick.