Hi,
suppose i have a page 1.aspx .
this page has many controls.
when the user press the button i want an input validation to take place.
I dont want to use validation controls or JS. What i want to do is to send the entire page to a method of another class i have created. This method should iterate over the controls in the sent page and for every control it will validate its content. In this generic way i can check validation for all the pages reusing the same code.
My question is what exactly should i send from the aspx.cs file and what exactly should i accept in the method?
if i send "this" as a paremeter, should i accept it with a "Page" object or what?
The Page object doesnt include the Controls array that the "this" object include.
Please advice, thanks.
For example, if i send:
protected Go to the complete details ...