Tag Archives: ASP.Net MVC

Unobtrusive Client and Server Side Not Equal To Validation in MVC using Custom Data Annotations

Yesterday we discussed about Unobtrusive Client and Server Side Age Validation now let’s do a not equal to validator which is basically the opposite of the Compare validator.  So where can this be useful? If you don’t want two items to have the same value then this is your solution.  Lets say you don’t want… Read More »

Unobtrusive Client and Server Side Age Validation in MVC using Custom Data Annotations

One of the best things with MVC is the built-in validation using Data Annotations, these special attributes are simply applied to a class or its property and validation simply just happens on both Client and Server side (taking into consideration you set yours up properly). There are lots of Data Annotations built in that you… Read More »

Enabling ASP.Net MVC client validation for Kendo UI components

You might have stumbled upon this page because you are getting crazy in trying out all sort of solutions to make the client validation work for your Kendo components such as DropDownListFor, DatePickerFor, ComboBoxFor, etc. You might have tried several suggestions you saw online like setting the validator defaults in your JavaScript like the samples below

Using Kendo UI 2013.2 with S#arp Architecture 2.1.2

More than half a year ago I posted a similar guide but since then S#arp and Kendo upgraded so those articles will not be helpful for this new versions as there are some changes in both Frameworks.  So here I am again creating this guide for this newer versions. Like what I had said before we… Read More »

Using Dependency Injection on OpenAccess ORM MVC Project

You might be starting a new project using OpenAccess ORM and wondering how to implement dependency injection to prevent hard-coded dependencies and enable the possibility of changing them at run-time.  Well it’s not that hard specially with the new Dependency Injection Framework available today where all you need to do is get them on nuget,… Read More »