CSS

Hiding the Time in the Calendar View in SharePoint

Here are the steps Open SharePoint Designer Open the site that contains the list that you’d like to modify Open the list view Locate the asp:content with ID PlaceHolderAdditionalPageHead and add the following in CSS and save <style type=”text/css”> .ms-acal-time {display:none} .ms-acal-sdiv, .ms-acal-mdiv {text-indent:-9999em;} .ms-acal-sdiv a, .ms-acal-mdiv a, .ms-acal-ddiv a Read more…

Uncategorised

enable / disable section/tab/form v9+

// Section Disable function sectiondisable (sectionname, disablestatus) { var ctrlName = Xrm.Page.ui.controls.get(); for(var i in ctrlName) { var ctrl = ctrlName[i]; var ctrlSection = ctrl.getParent().getName(); if (ctrlSection == sectionname) { ctrl.setDisabled(disablestatus); } } } // sectiondisable   // TAB Disable function tabdisable (tabname, disablestatus) { var tab = Xrm.Page.ui.tabs.get(tabname); if Read more…