Click here to Skip to main content
15,897,519 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,


When ever we use validation controls in asp.net they will occupy some space in webform eventhough they are not apper physicaly at runtime.

Is it possible to avoid occupying space by asp.net validation controls in webform.


please any body advise me regarding this.

Thanks
Uday
Posted

1 solution

Sure,

try via DisplayProperty (by setting it to Dynamic). More info here

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.basevalidator.display(v=vs.80).aspx[^]

Cheers!
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900