How to remove unwanted space from require field validator ?

Dear friends,
It may be possible that you know it but here I am going to share one simple tip to remove unwanted space occupied by required field validator control.
Just consider below login screen. On this field we have kept require field validator control.

 

withoutDynamic
The require field is just below the text box and it took unnecessary space.

validation
To resolve this issue you just need to change a simple property which is Display=”Dynamic” of require field validator.

Once you have changed the property to display dynamic the unwanted space automatically removed and it will consume only when validation failed.
The new screen will look like as below

After_dynamic_Use

So use display “Dynamic” property in required field validator.

Thanks & Best Regards,
Rajat Jaiswal

Advertisements

One thought on “How to remove unwanted space from require field validator ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s