Follow in Twitter & Facebook


Like in Facebook

Powered By Blogger Widgets

Free Download

FREE Tools


Sunday, October 23, 2011

XSLT list view web part in SharePoint 2010

Introduction:
In this article we will see What is XSLT list view web part in SharePoint 2010 and also we will discuss various steps to use XSLT list view web part. In my previous article we have discussed about Web Part life cycle in SharePoint 2010.

Description:
The list view web part are used by SharePoint to list and library data. When a new list is created, the web part for the list is also created automatically. List view web parts can show one view at a time from the list or library to which it is pointing. If you want to show more than one view of a list or library on the same page, just deploy a new list view web part pointing to the same list, then configure it to show a different view of the list. Once you insert the web parts into the page, it is easily customizable by using browser.

The list view web part is obsolute in SharePoint 2010. The new web part is known as XSLT List View Web Part. You can deploy the web part into a SharePoint page by using either browser pr by using SharePoint designer.

How to use:
To add this by the browser, go to the page then from the Ribbon click on Insert web part and from there go to the List and Libraries section and select the web part.

How it works:
It first queries the list or library data and retrieves it as XML. Then it uses industry-standard eXtensible Stylesheet Language Transformation (XSLT), which is a style sheet language for XML documents, to convert the XML data into HTML that the browser can understand and display to the end user. It uses shared XSLT style sheets that are presented inside the _layouts directory.
Also you can check Content Editor Web Part in SharePoint 2010.




0 on: "XSLT list view web part in SharePoint 2010"