I created a client-side script that fires when you click the button (and before the browser processes __do Post Back). In the Drop Down List control's serverside Selected Index Changed function, I check the value to make sure it ISN'T 1.Obviously you have to set the value of the hidden field to 0 by default and AFTER each Post Back.Should this validation be done in the business layer or in the middleware component of a multi-layer application?Some checks are business rules and thus conceptually they must be done in the business layer of the multi-layer application or in the server-side of a client/server application.The user must be able to assimilate the data presented to him quickly and easily through the Presentation layer and also must be able to input data efficiently into the application.
The slickest, best-looking application is useless if it doesn’t do what the users need.Introduction An important part of any data-driven application is ensuring data validation and handling errors when they occur.Validation means that any data input meets the application requirements in order to ensure consistency and correctness of the data.Its propbably good practice create a validation group whenever you add validation controls to a form. , you will learn some of the important aspects of designing a Presentation layer.
Has anyone tried turning caching off for these pages?