clientside

  • Validate Credit Card Numbers with Regular Expressions

    Expressions below account for IIN numbers on CC’s of most major US issuers which includes validating starting character. These should be used in addition to Luhn Algorithm mod10 check. These expressions can be used on clientside and codebehind to give… Continue reading

  • URL Encode in .Net

    C#: (ASP .Net) C#: (Client/Server Environment) References MSDN, WebUtility Classhttp://msdn.microsoft.com/en-us/library/system.net.webutility.aspx MSDN, Uri Classhttp://msdn.microsoft.com/en-us/library/system.uri.escapeuristring.aspx MSDN blogs, http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx Continue reading

  • Using jQuery and ScriptManager to update dynamic page elements

    I recently came across a situation where an element on the page was not updating dynamically after post backs. It was quick and easy to add an update panel and the necessary logic to use the built in asp .Net… Continue reading