Grant Barrington
Random findings about ASP.NET, c#, Microsoft Dynamics NAV and jQuery
-
EnumHelper - Getting a Friendly Description from an Enum
Wherever possible we use enumerations in our applications. Often the name of the enumeration isn't what you want to print on the screen. It could be because the enumeration is 2 words that have been joined together, or you want the description to start with a number (not that we do this... but you could).
-
Libraries in my toolkit - Another lesson in Partial Trust
I compiled a list of the libraries we use day-to-day in my company. There are a couple of home-grown libraries, but most are commercially available, or open source.
-
How to Run a Website in Partial Trust
Nearly all our websites are hosted up on WebCentral. WebCentral operate all their websites under a partial (hosted) trust environment.
-
Preventing a User From Submitting a Form Twice
When building web applications, we've had a "defect" reported a number of times where a user presses a button twice in quick succession and causes a postback twice, typically causing whatever server-side code you've written to run twice.