Wednesday 1 August 2012


Show or hide related resources in SharePoint2010

SharePoint Site Content and Structure has great and useful functionality if you want to list down page/resource dependency and want to prevent breaking page while moving. Use this feature to determine the resources that are called by an item. Resources are any elements used by the page, including page layout, images, Cascading Style Sheets (CSS), links from the page to other pages, links to the page from within the site collection, and links to or from this page. Identifying the related resources for an item is especially useful if, for example, you need to delete an image. By determining the dependencies for that image, you can update the links or resources as necessary.

This feature only shows the related resources for one item at a time.

To show related resources  

On the Site Content and Structure page, on the list toolbar, click Show Related Resources.
The Resources Related To pane is displayed.

To hide related resources  
On the Site Content and Structure page, on the list toolbar, click Hide Related Resources.
The Resources Related To pane is not displayed.


Check-in/publish/Approve multiple items in SharePoint 2010

Content Approval is on by default in the Master Page Gallery, Pages Library, Site Collection Images Library, Publishing Images Library i.e in Publishing site.

If you have multiple pages/images uploaded in site, its ridiculous task to check-in/publish/approve pages/image as these changes never seen to other users if not published and approve.

There is out of the box easy way to do this task using Site Content and Structure.

Follow the below steps:
 1. Navigate to the site/list/library where pages/images resides.
 2. select multiple files.
 3. from action tab on ribbon you have options to check-in/publish/approve the selected items.


Monday 23 July 2012

First view of Sharepoint 2013

SharePoint 2013 is released and here is a first look after creation of Site Collection.

Here you have choice to choose experience version as 2013 or 2010.





                                                                          
Another thing is, you have plenty of options to select look and feel as SharePoint2013 comes with great collection of built-in themes 






Here are some quick links 

     SharePoint2013 preview :


   Hardware and Software requirments : 



Thursday 12 July 2012

Creating PopUp dialog boxes in SharePoint 2010

You wonder how to create pop up dialog boxes in SharePoint 2010? If you have a page of yours and you don't want the user to navigate to another page to see it. You only need an anchor to be able to do so. just write this line of code in your page:

<a href="javascript:OpenPopUpPage('http://.......',PageRefresh,Width,Height)"> Open PopUp </a> 

This will open your page without navigating away from the page you are on. 

Saturday 21 April 2012

SOLID - Design principles for loosly coupled system - Silverlight


SOLID Principles.PNG

Extention Methods In .Net


You want to create Method inside any of the system class or your custom class without creating a new derived type, recompiling, or otherwise modifying the original type/class.
Here is solution ...
Create extention method.
Extension methods enable you to "add" methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type. Extension methods are a special kind of static method, but they are called as if they were instance methods on the extended type. For client code written in C# and Visual Basic, there is no apparent difference between calling an extension method and the methods that are actually defined in a type.
See below screen shot :
extention.PNG
you can try it with string.
As its not possible to override string class and its methods, the reasonbeing that String is defined to be a Sealed class. You can extend it using extention method.
Refer this MSDN artical for more details: http://msdn.microsoft.com/en-us/library/bb383977.aspx.