Validation control

I put some validation elements in my grid template. The only problem is that it takes up a lot of vertical space. Is there a property that solves this problem?

+4
source share
2 answers

Can you place your template and control lettering?

This is likely due to the wrapper and length of the error text. You probably want to set the Display property to Dynamic .

If you have many validators, you should also consider using a validation summary, and then clear the text values ​​and make the summary line message specific. This can save a lot of interference in your grid when validation activists activate.

+1
source

Set the validator Display property to Dynamic.

+5
source

Source: https://habr.com/ru/post/1309023/


All Articles