NET to allocate any space on the page ahead of time to display a validation control message. NET will dynamically allocate space on the page on the fly.If you choose the Dynamic value and your validation fails, you could cause visual layout problems on pages that use HTML tables for page layout.The Required Field Validator linked to it has an ID attribute called rfv Name and I've included some of the most commonly used attributes.I used the Control To Validate attribute to link Required Field Validator to the textbox.He is a published author on several subjects including XML, the migration from Visual Basic 6 to VB. In this scenario, if an error occurs while performing validation on the user's computer, the application can directly display the error message on the page that the user is viewing without the page making a round trip to the Web server and then back to the user.
You'll mostly use Required Field Validator controls in conjunction with textbox controls.
In the snippet that follows I've indicated the HTML to generate both an asp: Text Box control and a linked asp: Required Field Validator control.