O'Reilly logo

ASP.NET by Example by Steven A. Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Frequently Encountered Bugs

If you're a veteran VBScript/ASP developer, here are a few things to watch out for as you debug your ASP.NET pages. These are the kinds of mistakes you'll probably find yourself making as you transition from ASP to ASP.NET programming.

Runat=”Server”

Script blocks and controls all need to be marked with the attribute RUNAT="Server" if you want them to be processed by ASP.NET. It's especially common to forget this on FORM tags. Remember, if you want to take advantage of ASP.NET's form-handling capabilities, the form itself must have a RUNAT="Server" attribute. Further, you can only have one form per page that is configured this way. If you think you need more than one form, you probably don't. Consider using more than ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required