XsltListViewWebPart class in Microsoft SharePoint Foundation derives from the XSL-based DataFormWebPart class. It replaces the ListViewWebPart class as the default view type in list views, although it generates equivalent HTML for the same view settings.

learn more… | top users | synonyms

0
votes
1answer
411 views

Filter Parameter from Visual Web Part to XSLT or DataForm Web Part

I have a scenario where from Visual Web Part I need to send filter parameter to XSLTListView or DataForm Web Part on the same page! If I use Query String then I need to Response.Redirect and that will ...
1
vote
3answers
10k views

Creating an XsltListViewWebPart programmatically: Columns & toolbar

I add an XsltListViewWebpart to a page in an event receiver like this: public void CreateWebPart(SPList documentsList, SPLimitedWebPartManager wpm) { var documentsWP = new XsltListViewWebPart(); ...
2
votes
1answer
135 views

Displaying View: Dropdown in LVWP Toolbar

So I'm trying to figure out why when I go into a specific list on the right side I have the "View" Dropdown, but when I am on a page with a List view web part with Show Toolbar it does not have the ...
3
votes
2answers
9k views

How to change column title for a view, but not modify the list?

SP2010. I have a list that works fine, and I don't want to modify or rename any of it's columns. Why? I've got plenty of Ajax queries hitting that list, and don't want to break what works. But, this ...
1
vote
0answers
424 views

Connect XsltListViewWebPart with multiple providers

I have two lists defined: A: Projects (with a lookup column to B) B: Customer For list A I have two listviews: Open Projects Closed Projects Now I have a webpart page with three ...
2
votes
1answer
1k views

How to Fetch Data from .ICS file in Sharepoint 2010 ?

How to fetch data from iCalendar file in sharepoint 2010 webpart ?
0
votes
1answer
1k views

xsltlistview overiding the column headings using Xsl Link

I have a listview webpart that used specific columns. Changing the names of the columns is not an option. Our users are insisting that the heading for these columns be updated, so I am thinking of ...
1
vote
0answers
910 views

SharePoint 2010 OOTB filtering and sorting is not working in XsltListViewWebPart in Arabic

I am working on a multilingual site in English and Arabic. I have some pages with XsltListViewWebPart to view custom lists with no more than 12 fields to display. These are connecting webparts and ...
0
votes
2answers
452 views

Unlink page from master

Is there a way to "unlink" a page from the master page? Specifically, what I want to do is have a completely blank page display a SharePoint ListViewWebPart. Alternatively, if I start by creating a ...
0
votes
2answers
729 views

Create external list without link to the item

I've got an External Item List (from a SQL Database source) and it works OK. However, it doesn't seem to matter what I do, I cannot remove the "link to item" from the first column. I'd like the list ...
0
votes
0answers
229 views

XSLTListViewWP: filter results based on javascript variable/other control on page?

I have some custom html/jquery form stuff on a page, and I would like to update a LVWP on another part of the page if a user adds something. So for example, the list view web part just shows items on ...
2
votes
1answer
3k views

dataform webpart button redirect new ID after saving

I have two DataFormWebparts on a page, one for creating new objects, one to edit them. The Webpart that creates them has this button : <input type="button" value="Save" name="btnSave0" ...
0
votes
1answer
320 views

XSLV web part: default xsl templates

Where default xsl templates for xslt view list web part are soterd? As I know I can override any template in custom XSL file, but where can I find all the default templates? For example I need a ...
2
votes
1answer
1k views

Show Add New Item on XsltListViewWebPart programatically

I am trying to show the Add New Item link on an existing XlstListviewwebpart. But the code below is not working. I found this here: ...
5
votes
1answer
1k views

Content Query Web Part: Lookup Column Value and XSL

There is a List with Lookup field. And there is a CQWP web part which uses this list as a Source and uses custom XSL style added to Itemstyle.xsl. And there is a problem how to render this field as a ...
1
vote
2answers
2k views

Changes are not reflected on XsltListViewWebPart when changing vwstyles.xsl

I have a question regarding the vwstyles.xsl for XsltListViewWebPart. Basically I have a strange behavior, when I change the vwstyles.xls but not directly but by the fldtype_somename.xsl, the changes ...
1
vote
3answers
2k views

List view loses focus when additional webpart added to page

I have a list page to which I need to add an additional webpart (in this case, a more powerful filter). However, the ribbon doesn't appear because the listview does not have focus. This is easily ...
0
votes
2answers
4k views

Unable to display this Web Part. To troubleshoot the problem, open this Web page … & Error: Reference to undefined entity 'nbsp'

I created a page in SharePoint Designer 2007 that use a SharePoint Library. I used the method of 'generating XSLT' from this page - How to customize the header titles of the List Views web part ...
1
vote
1answer
164 views

SharePoint Web Parts can not be connected via hyperlink fields

In short: I'm trying to filter an XSLTListViewWebPart based on what is selected in another XSLTListViewWebPart. Using a String field as connection this is working fine. Using a hyperlink field no data ...
2
votes
1answer
336 views

XSL Transform impacting other Web Parts

I have on my SharePoint page an XSL List View Web Part linked to an XSLT file via the "XSL Link" property. Here is the content of the XSLT: <?xml version="1.0" encoding="utf-8"?> ...
0
votes
0answers
949 views

List View Webpart with Thumbnail View

I have a Picture library and I use the default Thumbnails view. So I created a List View WebPart on the home page and the items are all messed up. Instead of showing in a nice and tidy grid, there are ...
1
vote
2answers
631 views

Custom XSLT for taxonomy field in xsltlistviewwepbart for SharePoint 2010

I'm trying to modify the out-of-the-box rendering of the xslt list view webpart to collapse the terms, and show (..more) if there are more than 1 term in the field. I already did this for an "Authors" ...
2
votes
2answers
1k views

Adding webpart to filter view by code is not working

I need to add a new page in a new doc library. That works fine. In the page I need to add a webpart to filter list data from a view bases on 3 columns from the view. The following code is not ...
3
votes
2answers
2k views

XsltListViewWebPart forgetting current web when being rendered on Layouts page

I'm adding a very simple XsltListViewWebPart to an application page. Like so: XsltListViewWebPart lvWebPart = new XsltListViewWebPart { ChromeType = PartChromeType.None, ListUrl = "/somesite/list" }; ...
2
votes
1answer
955 views

XsltListViewWebPart remembering state in cookie not working properly

I have a XsltListViewWebpart that shows a tree structure with nodes. I made a jquery script that sets a cookie which persists the state of the nodes (expanded/collapsed) between postbacks. I added ...
0
votes
1answer
122 views

Column that show the title of an item and point to a lookup value?

I have two lists, let's say "Parent" and "Child". There is a lookup in "child" list that point to "parent". In a custom view of Child list, I'd like to have the title of "Child" display, with a link ...
0
votes
1answer
906 views

Condition on hidden field in xsl?

I have a custom xsl file that I use to show items in bold when a boolean fields equals to false. I've set up the xsl using SharePoint Designer, then I exported the Xsl node in a xsl file. I deploy ...
7
votes
2answers
7k views

XSLT Get Current date or Today in XSLT

Help please can anyone advise how I get current date, or today method in xslt 1.o SharePoint
2
votes
1answer
918 views

DVWP sorting the data with xslt and removing the duplicates

I'm working with SharePoint 2007. I try to modify the DVWP with the XSLT. The web part pulls the data from the list, what i want to do is just sort the data and show the results. - I can't sort the ...
3
votes
1answer
2k views

Xsl view, web relative link?

I have a custom list definition that defines some view. These views are linked to a custom xsl file because of some formatting rules (red row when field X equals Y). In this xsl, I'd like to add a ...
2
votes
1answer
3k views

sharepoint link not working in IE but working in Firefox

I have a problem with one of the links in a column of my XsltListViewWebpart. It's working perfectly fine in Firefox, but when I click it in IE, nothing happens. The code for the link is: <a ...
1
vote
2answers
639 views

format text as date in XsltListViewWebpart

I have an issue and I cannot find any documentation on it. I have a XsltListViewWebpart with a column called Dates that contains a few years in each row. Currently they appear as: 2008 2009 2010 ...
2
votes
1answer
2k views

Define XSLTListViewWebPart Custom DataSource

I'm currently working on a personal project which main goal is to create simple and customizable dashboards for everyday life. In order to avoid wrong way, I would like to know how to do to bind a ...
1
vote
0answers
606 views

Target Audience does not work with site SharePoint groups for XSLT List View web part

On some xsltlistview web parts, whenever I try to set the target audience to use one of the SharePoint site groups (These are groups created when you create a new site), it tells me that it does not ...
3
votes
2answers
11k views

Defining custom views in a list's schema.xml file

I have create a custom list definition, with a content type. In the schema.xml, I'd like to define two views : All items (the default one, generated by Visual Studio) My items (the same view with a ...
0
votes
1answer
488 views

Creating a custom View for List with custom UI

I'm trying to create a custom view for a list with custom UI. The following is my code: list.Views.Add("List View", coll, Query, 10, true, false); list.Update(); SPView view = list.Views["List ...
7
votes
2answers
12k views

how to customize xlstviewwebpart in sharepoint designer 2010?

i have try to editing xlstviewwebpart for editing customize.but havnt getting any clues for my scenario. i want to change title link in edit mode instead of display mode in webpart pages. when ...
0
votes
1answer
1k views

Using a list view to filter another list view

I have two lists; List A and List B. List B has a lookup column to List A. I want to filter List B based on the value in the field that looks up A. This can of course be done using the default OOTB ...
2
votes
2answers
2k views

Getting last three images with XSLListViewWebPart

I am trying to get the latest three images added to a picture library and put them on home page with XSLListViewWebPart but can't manage it to work. Here is the sample output I am trying to get: ...
1
vote
1answer
974 views

Hide dropdown from XSLT List View WebPart

I have added a XSLT List view webpart to a sharepoint master using SPD 2010( in PlaceHolderLeftNavBarTop content placeholder ). The datasource for this list view webpart is a Links library. I have ...
4
votes
2answers
4k views

Provision XSLTListViewWebPart with <AllUsersWebPart> or <View> and customize the XslLink

I've created some custom List Definitions (aka List Templates) and am provisioning List Instances of them into my site. I am then provisioning Pages (Wiki/WebPartPages) that refer to the lists/views ...
0
votes
0answers
332 views

Pass parent ID to new child list item in “inline edit” mode of ListViewWebPart

I'm trying to set up a 1:Many relationship between items in a parent list. In the EditForm for the parent item, I've inserted a XsltListViewWebPart for the child list, and set up filtering on the ...
1
vote
0answers
178 views

xsltlistviewwebpart - view edit delete (ribbon) with filter

Is it possible to enable view, edit and delete (on the ribbon), when there is a filter applied? Thanks, David Esteves
2
votes
1answer
468 views

Is it possible to update .Webpart file and reflect the change on all uses of a webpart

I have a webpart that is a modified XSLT list view webpart in SharePoint 2010. I exported the webpart as a file and uploaded it to the webpart gallery manually. If the user adds this webpart to ...
1
vote
2answers
2k views

How can I use XSL, but with no toolbar, when using XsltListViewWebPart with a custom view?

I have the following XsltListViewWebPart on a custom application page: <WebPartPages:XsltListViewWebPart runat="server" Title="My Documents" ListUrl="Lists/MyDocuments" ...
0
votes
2answers
605 views

How to use XmlDefinitionLink & CAML to reuse View definitions in multiple XsltListViewWebPart controls?

This is what I want to achieve (in SharePoint 2010): A custom page containing 2 XsltListViewWebPart Both of them rendering the same list data, but with different XSLT definition for display I ...
4
votes
1answer
1k views

XsltListViewWebPart stuck on loading

We are currently running SharePoint 2010 Server SP1 + June CU. Our site collections were migrated using database attach method from SP2007. When we configure 2 or more XsltListViewWebPart that point ...
2
votes
3answers
1k views

Pass a SharePoint list item value to a ListViewWebPart query

I'm stuck with the following Problem: The Task: I do have a custom SharePoint form which displays an entry from one of my SharePoint lists. On that Form I am using a ListViewWebPart to show the ...
1
vote
0answers
280 views

Disable Modal Dialogs from XSLTListView

i need to disable some modal dialogs for the form display in a listview. At the list settings I have disabled the modal dialog (NavigateForFormsPages="TRUE"). For the items of the list it works fine. ...
1
vote
1answer
181 views

Copying code over in Sharepoint Designer 2010 and changing it, deletes code from the original file, how can I fix this

Suppose I have two files, A, and B respectively. Everytime I copy xsl code from file A to B and modify the code in B and save it. The code in A gets removed (all except for the WebPartZone tags and a ...