Intersoft Support Center

Use RequiredValidator to Validate User Input

In WebCombo.NET, you can Use RequiredFieldValidator to ensure the webcombo cannot be empty

This topic will show you how toUse RequiredFieldValidator to ensure the webcombo cannot be empty

To use RequiredFieldValidator to ensure WebCombo cannot be empty

  1. Drag RequiredFieldValidator control to the page.
  2. Click the RequiredFieldValidator instance and press F4.
  3. Set ControlToValidate to WebCombo1.
  4. Set ErrorMessage to "Please select an item".
  5. Run the project.
Previous Next