Posts

Showing posts with the label Microsoft.Net

What is SharePoint Framework | steps to setup

SharePoint Framework , a new development model for SharePoint which takes the SharePoint experience to the next level with the help of client-side APIs. Introduction For years, Microsoft keeps on enabling the different development models like Farm based solutions, Sandboxed solutions, SharePoint Add-In to access the SharePoint objects with the help of different APIs. And also we have another model in SharePoint by manually injecting a java script file (which created based on JSOM, REST API) to the SharePoint page to obtain the appropriate result. In addition to the above mentioned development models, Recently Microsoft added an another model called “SharePoint Framework model” to build great & better applications. This model is released as open source and this is still in initial stage even for developers. “ The SharePoint Framework is a Page and Part model that enables client-side development for building SharePoint experiences. It facilitates easy integration with the S

How to Enable and Disable Client-Side Validation in MVC

MVC3 & MVC4 supports unobtrusive client-side validation. In which validation rules are defined using attributes added to the generated HTML elements. These rules are interpreted by the included JavaScript library and uses the attribute values to configure the jQuery Validation library which does the actual validation work. In this article, I would like to demonstrate various ways for enabling or disabling the client side validation. Enable Client-Side Validation in MVC For enabling client side validation, we required to include the jQuery min, validate & unobtrusive scripts in our view or layout page in the following order. <script src = "@Url.Content(" ~ / Scripts / jquery-1 .6.1. min . js ")" type = "text/javascript" ></script> <script src = "@Url.Content(" ~ / Scripts / jquery . validate . js ")" type = "text/javascript" ></script> <script src = "@Url.Content("