Posts

Showing posts with the label codeing

How To Add A Delete Button To SharePoint 2013 List Column

Image
In this blog, I will show you how to add a delete button to the SharePoint List / Document Library column as below  Note : In this example I will implement to the document library  Implementation So, simply follow the steps mentioned below. Create a new calculated column. Add the following formula. Just copy and paste the formula into the calculated column. ="<a href='#' onclick='javascript:DeleteItem("&ID&");'><img alt='delete' src='/_layouts/images/delitem.gif' style='border:0px;' /></a>" Select Return data type as : Number an Click "Ok" Note : In here I created a onclick javascript function as ' DeleteItem ' and pass the List Item ID Now we have a link button in the List View  Go to List view page > Settings > Edit Page Add a 'Content Editor' web part and insert the following script <script type="text/javascript"...

JavaScript for Beginners - Overview (P: I)

Image
Welcome To JavaScript JavaScript adds interactivity to a webpage. JavaScript works together with HTML and CSS to create attractive, interactive webpages Before starting with JavaScript, it is recommending that you gain basic knowledge of HTML and CSS Using JavaScript, you can  Display  information,  validate  forms data,  create  cookies,  Change  page content,  Detect  browser detail and many more JavaScript scripting language works inside the web browser. Client Side Language Web site scripts either run on client-side or server side. The client side of a website refers to the web browser that is viewing it. The server-side of a website is the server that hosts it. PHP, Ruby, on Rails, ASP.NET are among the most popular server-side languages. They are called server side languages because their scripts run in the server that hosts the website, rather than on the user’s computer. JavaScript is a client-side ...

Understand tiered architecture in SharePoint - C#

In this post we will learn to implement tiered architecture in a CSharp application. tiered architecture is a very famous and well known buzzword in the world of software development.  Basic Layers Presentation Layer Data Access Layer  Entity Layer  Code for Entity Layer   public class ITDRITCoordinatorsEntity     {         public int ID { get; set; }         public string Title { get; set; }         public SPFieldUserValueCollection Users { get; set; }         public ITDRITCoordinatorsEntity() { }         public ITDRITCoordinatorsEntity(int ID, string Title, SPFieldUserValueCollection Users)          {             this.ID = ID;             this.Title = Title;             thi...