Bulk delete SharePoint List items using CSOM

SharePoint CSOM enables us to delete bulk list items using browser console. Scenario-1:  We have a list of records to be deleted from a SharePoint list and we do not want to delete record one by one. Scenario-2:  We want to delete the list and list already had cross the threshold limit and not allowing to delete list until records reaches under the threshold limit.… Read More

Read More

To set custom sub site icon in a custom master page.

I.e. For Sub Site – A: . For Sub Site – B: Below is the approach followed from me: Added below entry in master page but it was always resulting in wrong URL (404 URL not found) and referring to Site Collection URL (It was needed to refer sub site URL) <asp:Image runat=”server” id=”idMainSubSiteImageLink” CssClass=”subSiteIconData” ImageUrl=”../../SiteAssets/banner.png”></asp:Image> 2    I have used trick to resolve correct… Read More

Read More

Responsive GridView for Mobile Phone, Tablet and Desktop display in ASP.Net

In order to make the GridView responsive,You can use Footable jQuery plugin which is compatible with Bootstrap design. To use Footable jQuery include the following code inside the form tag- <link href=”https://cdnjs.cloudflare.com/ajax/libs/jquery-footable/0.1.0/css/footable.min.css”         rel=”stylesheet” type=”text/css” />     <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js”></script>     <script type=”text/javascript” src=”https://cdnjs.cloudflare.com/ajax/libs/jquery-footable/0.1.0/js/footable.min.js”></script>     <script type=”text/javascript”>         $(function () {             $(‘[id*=GridView1]’).footable();… Read More

Read More

JavaScript To Split The Words or Concatenated Word

<html> <body> First Word:-Hello<br/> Second Word:-world!<br/> <button onclick=”myFunction()”>Click To Split</button><br/> <pre>Concatenation:-<p id=”orgi”></p><br/> First Word:<p id=”demo”></p> Second Word:<p id=”demo1″></p> <script> function myFunction() { var str1 = “Hello”; var str2 = “world!”; var res = str1+”$|$”+str2; document.getElementById(“orgi”).innerHTML = res; var res1 = res.split(“$|$”)[0]; var res2 = res.split(“$|$”)[1]; document.getElementById(“demo”).innerHTML = res1; document.getElementById(“demo1”).innerHTML = res2; } </script> </body> </html> Snapshot:-     ——————————————————  

Read More

jQuery Scroll: Smooth Animated Scroll (Top to Bottom and Bottom to Top)

<html xmlns=”http://www.w3.org/1999/xhtml”> <head> <title></title> <style type=”text/css”> body { font-family: Arial; font-size: 10pt; } #scrollToTop, #scrollToBottom { cursor:pointer; background-color:#5824F2; display:inline-block; height:40px; width:40px; color:#fff; font-size:16pt; text-align:center; text-decoration:none; line-height:40px; } </style> <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js”></script> <script type = “text/javascript”> $(function () { $(‘#scrollToBottom’).bind(“click”, function () { $(‘html, body’).animate({ scrollTop: $(document).height() }, 1200); return false; }); $(‘#scrollToTop’).bind(“click”, function () { $(‘html, body’).animate({ scrollTop: 0 }, 1200); return false; }); });… Read More

Read More