CraigWardman.com

[ May 2009 Archives ]

/Blog/Archive

Monthly Archives: May, 2009

Setting a validation group on a User Control

Using the built in .NET validation, you can assign a ‘validation group’ to a set of validation controls, submit buttons and validation summary. This creates a separation between different sets of controls on the page, so that only the relevant controls are validated for a specific submit button. When you design your application as separate [...]

Running Initialization Code in Visual Studio Unit Testing

Often in a project, you have code which runs when the application starts (such as in Program.cs or in your Global.asax file) which will set up all of your shared resources for the rest of the project, such as initializing global variables, configuring the BLL, connecting to a datasource etc. As mentioned above, their are [...]

CraigWardman.com
Car Leasing | Lease Cars