ASP.Net MVC (6)

Latest Articles

Editor templates: Tricks to build complex UI controls in ASP.NET MVC

Saturday, 27 December 2014 00:00 Written by
Editor templates: Tricks to build complex UI controls in ASP.NET MVC ASP.Net MVC editor templates are a key for fast development. In ASP.NET you have any UI controls you need and a Drag-and-Drop does the magic and generates the Html codes for you. In contrast ASP.Net MVC requires writing the…

MVC download file

Saturday, 27 December 2014 00:00 Written by
MVC download file Return value of Controller’s Actions in ASP.NET MVC should be of Action Result type but this doesn’t mean you always should return a View. You may return a file to be downloaded and the file type could be anything e.g. png, mp3, exe and etc. Every extension…

mvc actionresult

Saturday, 27 December 2014 00:00 Written by
MVC ActionResult In ASP.NET MVC ViewResult, JsonResult and JavaScriptResult are all ActionResult type and you can return them in your Actions but when should you use these Return Types? Most of the time you use the ViewResult to handle requests and when it comes to Ajax requests you use JsonResult…

Asp.net mvc validation

Saturday, 27 December 2014 00:00 Written by
Asp.net mvc validation In ASP.NET MVC you can place your validation code in a lot of places: Creating a custom ValidationAttribute, placing the validation in the Model Binder, placing it in controller or placing it in the Model. The first and second choice has a limitation and that is you…

Popular Articles

Parameter passing between different Actions There are a lot of…
MVC ActionResult In ASP.NET MVC ViewResult, JsonResult and JavaScriptResult are…
Asp.net mvc validation In ASP.NET MVC you can place your…
MVC download file Return value of Controller’s Actions in ASP.NET…

Parameter passing between different Actions

Saturday, 27 December 2014 00:00 Written by
Parameter passing between different Actions There are a lot of scenarios for which you need to redirect the user to a different action. For example you may want to redirect a user from an Edit form to Index if the record is edited successfully. The action to redirect to may…
Advanced Programming Concepts
News Letter

Subscribe our Email News Letter to get Instant Update at anytime