ASP.NET MVC typed html helpers generate helpful ready-to-bind markup for us. Learn how to detect what the resulting id and name attribute will be for use in your view code
Client Side Model-Aware Validation
In a previous post, we built a model-aware validator using Foolproof for ASP.NET MVC. Now, it’s time to create the client side version because posting back sucks.
Render Your Model With Client Side jQuery Templates Instead of ASP.NET MVC Partial Views
Stop writing render code in multiple places in your ASP.NET MVC ajax applications. Learn how to push your model to the browser and use jQuery to bind it to templates.
Build Model-Aware Custom Validation Attributes in ASP.NET MVC 2
Using Foolproof’s ModelAwareValidationAttribute class, you can create custom model-aware data annotations to solve any complex validation scenario
Foolproof Provides Contingent Data Annotation Validation for ASP.NET MVC 2
“MVC Foolproof Validation” is my first open source project to help bridge the gap in ASP.NET MVC Data Annotations when dealing with contingent or dependent scenarios
Entity Framwork's Include Function Produces Inner Joins Instead of Outer Joins
Entity Framework’s Include function usually produces OUTER JOINs. I ran into an scenario where INNER JOINs were being produced that filtered out needed records. The solution is in the direction of the EF expression
Rendering and Binding Drop Down Lists using ASP.NET MVC 2 EditorFor
Use ASP.NET MVC’s EditorFor to render a drop down list from a view model. Then use a custom model binder to bind the selection back to the view model
A Simple ForEach Loop Solution for JavaScript
Create “foreach” functionality in JavaScript using an Array prototype function
Post Complex JavaScript Objects to ASP.NET MVC Controllers
Use the plug-in postify.js to handle posting complex JavaScript objects to ASP.NET MVC controllers using the default model binder
Simple AJAX Polling Plugin for jQuery
Implement a simple jQuery plugin that simplifies AJAX-based polling in your web applications

0