Monday, September 24, 2012

Cascading dropdown lists with jQuery

Here is a [1]GitHub link to a small jQuery plug-in that helps to make <select> HTML elements to refresh their content from a JSON source in response to the 'change' event of another <select> element.

The code is based on this Stack Overflow thread: http://stackoverflow.com/questions/4458970/cascading-drop-downs-in-mvc-3-razor-view.



[1]https://github.com/manuelnavarroc/jquery.cascade-select

Thursday, September 20, 2012

So .NET MVC is Open Source? ... yes, it is!

Recently I had a doubt about the insides of a .NET MVC method, so I posted a question on SO. To my surprise, one of the answers told me to take a look at the source code by myself... and then I met The Source Code:

http://aspnetwebstack.codeplex.com/SourceControl/list/changesets

A highly recommended resource for every MVC programmer out there.