I placed some validation controls on my grid view template. The only problem is that it is taking a lot of space vertically. Is there a property to set to solve this problem?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Can you post your template and validation control markup?
It probably has to do with wrapping and the length of your error text. You probably want to set the
Displayproperty toDynamic.If you have a lot of validators you should also consider using a validation summary and then clearing the text values and making the summary row message specific. This could save a lot of clutter in your grid when the validators do trigger.