ASP.NET 1.0 and 1.1 BasicsASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .

I want to check the controls on my form to test if there is data in any of them as if there isn't, there is no point in sending a request to the server when a user presses the button on my form. I have text boxes on my form that I want to search through. What's the best way to do it?

U can use JavaScript to chk for validations as these will be
checked on the client machine itself.
whereas ASP Validation controls will carry out there purpose
on the server. And as an effect the code will be checked before
being sent to the server for processing.