Posts

How to hide the Select and Deselect Check box in a List/Library in SharePoint 2010

Image
We might have faced some situations where you want to hide the Select and Deselect Option Check Box in the SharePoint 2010. This is required, when you create some views and want to display some items with out check box options. Let’s discuss about this in this article. Suppose this is the document library where I want to hide the checkbox Go to the Modify view in the Ribbon You will see all the options for customizing the list\library. Click On the Tabular View. Here you will find that, “Allow Individual Item Checkboxes” option is selected. Unselect the Check Box and you are done. Now, you won’t see the Check Boxes in the list\Library as shown below We can do this in SharePoint Designer also. Go to the List/Library and then to the view where you want to hide the checkbox. Find the below section (.ms-WPHeaderTdSelection) and make this property to display equal to none. 1 2 3 4 .ms-WPHeaderTdSelection { Display:none; ...

Cannot Access a local SharePoint site from server console(WFE)

The fix is to disable the loopback check in the registry. Method 2: Disable the loopback check Follow these steps: Click Start , click Run , type regedit , and then click OK . In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa Right-click Lsa , point to New , and then click DWORD Value . Type DisableLoopbackCheck , and then press ENTER. Right-click DisableLoopbackCheck , and then click Modify . In the Value data box, type 1 , and then click OK . Quit Registry Editor, and if possible then restart your computer (Not compulsory)

Migrate from MOSS 2007 to SharePoint 2010 - Step by Step

http://salaudeen.blogspot.com/2011/09/migrate-from-moss-2007-to-sharepoint.html

Get data from InfoPath form using Object Model(C#)

The InfoPath forms (.xml) files stored in the following Path Open the site inthe SharePoint desinger, click on All Files folder and list -> Open any xml file   <my:group7>     <my:group8>      <my:ListOfAttendee>Ravi</my:ListOfAttendee>      <my:Organization>Financial Services</my:Organization>     </my:group8>     <my:group8>      <my:ListOfAttendee>Kumar</my:ListOfAttendee>      <my:Organization>IT Department</my:Organization>     </my:group8><my:group8>      <my:ListOfAttendee>Mohan</my:ListOfAttendee>      <my:Organization>HR</my:Organization>     </my:group8>    </my:group7> use the below co...

Hide First Tab (Home) in SharePoint 2010 Navigation

Image
You will notice that the Home tab actually is the first node and then has a child UL which represents the rest of the navigation Items. So the approach is to hide the first <li> <a> (display: none) and then simply just use (display:block ) to show the hidden <ul> <li> <a> tags. Here is the CSS you could use to hide just the first node (home) tab in a SharePoint 2010 application: Place Content Editor WebPart  and add the below code <style type="text/css"> .s4-tn li.static > a{ display: none !important; } .s4-tn li.static > ul a{ display: block !important; } </style>

Customization SharePoint 2010 - Ribbon

http://www-kga.csharpcorner.com/tags/Create-Custom-Tab-in-Office-Ribbon

Printing SharePoint WebPart content

Try the following steps. It works for most web parts (i have used this for lists) 1. Start with a web part You start by having a web part with a display of information, such as a list. If you don’t have one already you can start by creating a SharePoint Event List, and then, adding a Calendar web part (remember to choose the Calendar View). 2. Add the Print Button You will be adding a Print Button to the page, by putting the JavaScript below into a Content Editor Web Part. Add a Content Editor Web Part to the page with the web part you want to print. Open its properties and click the Source Code button to add the JavaScript code. Copy the following code directly into the Text Builder box. This code will create a “Print Web Part” button that when clicked, will execute the print action. <center><input type="button" OnClick="javascript:void(PrintWebPart())" value="Print Web Part"></center> <script language="JavaScript"> //Con...