Results for "Author: shawn bullock"
Queries Windows for the meaning of an API error number, and allows you to search a range of numbers... the results get placed in a list
Update (3/31/2003): Added IsNationalID to validate various types of ID's of various nationalities. Added IsEIN (which in turn calls IsNationalID). Corrected IsPhoneNumber for all three C#, VB.NET, and .js. Hopefully I won't need to correct it again and again anymore. Update (3/30/2003): Corrected an issue with the IsPhoneNumber() method and added IsPostalCode that calls IsZipCode, but is intended for non USA type postal codes. Also added as a javascript file for client-side validation. Update (3/29/2003): Corrected a C# IsNumber() issue with negative numbers; added IsBoolean and IsGender methods and optimized the IsCritiaAccepatble methed to make better use of RegEx's than previously. Update (3/27/03): Corrected major issues with the IsNumber() patterns and C# issues and added some features. Validate if the querystring values or Form object values in ASP.NET are of the expected *format* (Phone number, zip code, numeric, state, email address, etc.) using regular expression. Source code projects provided in both C# and VB.NET. Update for provides both client and server-side validation.
I created this project to learn how to make a WebControl and because I needed a Server-Side Hidden Input (HTML Hidden Input running as server wasn't good enough for me). In the IDE is shows itself gray to indicate its hidden version just another TextBox. It demonstrates how to build a WebControl, ControlDesigner, Assembly Prefix Attribute, Custom Toolbox Image, ViewState, IPostBackDataHandler and more. It renders a TextBox control in the IDE but a Hidden Input in the browser. There are both C# and VB.NET versions of the project included.