How to Override Default Validation Error Message for Integer or Decimal Property in ASP.NET MVC – The value ‘xxx’ is not valid for Property

Unfortunately Microsoft did not incorporate a DataAnnotation to change the default message The value ‘xxx’ is not valid for Property to a custom one. This is when you create an int or decimal property in your model, you bind it to an input box (TextBoxFor) then try to submit the form, then you get this […]

The Bible King James Version and Modern Translations (NIV, ESV, NLT, ASV)

I always knew there were some missing verses in modern Bible translations when compared to the King James Version (KJV), but never really knew what those verses were, nor bothered to do some research on them. It was until a few weeks back that I intentionally took the task upon myself to do that research […]

Flatten PDF Form Fields with iTextSharp – Two Methods – ASP.NET

I will show two methods to flatten editable form fields in a PDF file. Method 1 is true form flattening and method 2 is just making the editable fields read only. Personally I was using method 1 for some time, however in some instances (more specifically when merging images into a PDF file and messing […]