Introduction

     

Classic ASP developers have become accustomed to certain approaches to performing tasks with forms. The ASP.NET model requires a few changes to these approaches, to say the least.

In particular, one of the toughest things to grow accustomed to is the concept of programming both the server and client sides of an application. Forms are inherently client-side, because that's where they execute and much of their behavior must be handled in the client browser. Sounds simple enough, but getting forms to do your bidding actually requires you to write server-side code that writes the client-side code to be executed when the page is loaded in the browser. And if that weren't enough, consider that the client-side code often needs to be written in JavaScript. Add to that the task of managing the nuances of another scripting language, and you begin to feel as though you're playing 3-D chess.

This chapter provides solutions to many form- related problems that you are likely to encounter in using ASP.NET. By the time you've waded through a recipe or two, the client- and server-side maneuvers required ought to begin to seem fairly manageable.



ASP. NET Cookbook
ASP.Net 2.0 Cookbook (Cookbooks (OReilly))
ISBN: 0596100647
EAN: 2147483647
Year: 2006
Pages: 179

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net