Hussain Ahmed
How we can force all the validation controls to run?
By Hussain Ahmed in .NET on May 29 2014
  • Shivam Shukla
    Feb, 2015 20

    All the validation controls in the ASP.NET page can be run by using the following code "Page.Validate()". Optionally one can also specify the name of the Validation Group name, as a parameter, to be executed. Page.Validate(); OR Page.Validate("user"); // user -> is validation group name

    • 1
  • Hussain Ahmed
    May, 2014 29

    The Page.Validate() method is used to force all the validation controls to run and to perform validation.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS