Neil,
There is some confusion here. You can use any ASP.NET web control you want
in WebMatrix. All of the Validators should already be in its toolbox, ready
to use. They provide client-side validation using javascript. They have many
limitations, such as their scripts were written for DHTML browsers (IE and
IE/Mac). All other browsers will still use their server-side validation
features.
I wrote a far better solution to validation: "Professional Validation And
More" (
http://www.peterblum.com/vam/home.aspx). It includes so many more
rules (22 validators vs 5 in Microsofts) and ways to get the user's
attention (like changing the color of the field with the error). It's
client-side validation works on IE, IE/Mac, Netscape 7+, Mozilla, FireFox,
Opera 7, and Safari. I designed it to address the requests users have of the
existing validators that force them to write custom code and invent hacks.
As for the reformatting issue of Visual Studio.net:
1. You can stay with WebMatrix although I recommend for writing actual code,
VS.NET's compiler and debugger are essential tools for real code
development.
2. Microsoft heard our complaints about its reformatting issues and will no
longer do that in VS.NET 2005 (coming later this year).
--- Peter Blum
www.PeterBlum.com
Email:
PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx
<nz******@cs.mun.ca> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
I guess there is no other way to validate ASP.NET code than to use
Visual Studio. I have been using Web Matrix but I am rather annoyed
at the fact that whenever I open a hand coded .aspx file in Web Matrix
it reformats all of my code. Is there a way to avoid this, or an IDE or
user interface which has validating service for ASP.NET but does
not modify all the indents and all in your code?
Thanks,
Neil