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 […]
Responsive Menu – Admin Panel – Bootstrap Menu
Recently I had to create an Admin Panel Menu and this is what I came up with. Below is the code and Fiddle
ASP.NET Controls / AJAX Extensions Not Working in iOS 8 or Safari 8 – Telerik Controls
Some time back I noticed my ASP.NET Telerik controls were not working in iOS 8 nor Safari 8, so I did a little research and I discovered that I needed to add a new browser file to my application be cause of a major version-change to AppleWebKit/600. Below is solution I found in StackOverflow.
Cannot Install ‘pg’ gem in Mac OSX – Error installing pg: ERROR: Failed to build gem native extension — Ruby on Rails
If you are planning on using PostgreSQL with Ruby on Rails, you will need to install pg, which is the Ruby interface to the PostgreSQL RDBMS. The command to install it is as follows:
How to Access ASP.NET Controls Inside An Outer And An Inner ASP Repeaters (Controls Inside Two ASP Repeaters)
Working with ASP.NET repeaters can be a little bit tricky if you do not fully understand them. In plain words, you have to find the outer repeater, then from here find the inner repeater, then from this inner repeater find the control(s). If I haven’t confused you enough, look at the examples, it will be […]
Make a Footer Stick at the Bottom of the Page
For a long time I’ve been looking for a simple solution to make a footer stick to the bottom of the page until I came across this solution. Best of all is that it works with the major browsers: Internet Explorer 5 and up, Firefox, Safari, Opera.