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
0answers
69 views

Add a XsltListViewWebPart in web part code behind

I'm desperatly trying to add a XsltListViewWebPart in my web part, so on the WebPart class I set like this : private XsltListViewWebPart _xlwvp; protected override void CreateChildControls() { ...
0
votes
0answers
73 views

Task List View with Where Clause

I don't think what I am trying to do is massively hard, but I've been at it for a couple of days now and can't find an answer. Sorry if this has been answered before. Basically I have a ...
0
votes
0answers
17 views

Dynamic XPath Filter?

I'm working on a project that requires a dynamic filter. I have a recursive template that builds the filter structure. Here's the code in that template. <xsl:choose> ...
0
votes
0answers
44 views

Is it possible to use custom XSL and still use the “Display search box” option"?

I have found that if I specify any custom XSL on a ListView web part, it is no longer possible to see the "File a file" search box shown below: When the value of "XSL Link" is blank, I can see the ...
0
votes
1answer
30 views

Sharepoint 2010 XSLT Customization Lost on Save

I have a page with a XsltListViewWebPart. That is displaying a list with People objects (Person, Department, Email, Phone). I am trying to override the Email to be an actual mailto instead of loading ...
0
votes
0answers
49 views

Check if the user is in a specific SP security group in the XSL for a DVWP?

I know it is possible to see if the user has access to the list with ddwrt:IfHasRights but I'm wondering if there is a way to check if a user is part of a specific security group? I'd like to be able ...
0
votes
0answers
127 views

DVWP, XSLT, XML, plain text fields with HTML string not rendering as HTML string and not HTML the browser renders

I have a list with a multiple lines of text field set to plain text. For each item in the list, for that field I have HTML string like <b>hi</b>. I'm rendering the list using a DVWP with ...
0
votes
0answers
209 views

Web Part error: One of the properties of the Web Part has an incorrect format

I get the following error: One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of the properties and try ...
0
votes
1answer
152 views

Setting maximum height limit for webpart

I am using XSL Stylesheet for styling a list view web part. In the webpart properties I can set the height as fixed or not. I want to be able to set a fixed height of maximum limit eg. 200px. What I ...
0
votes
1answer
90 views

Prevent XSLTListViewWebPart from removing selected items on page click

I am using an XSLTWebPart in SharePoint 2013 and when the user clicks on other elements of the page (outside the web part) certain sections trigger the webpart losing all selected items. I am ...
0
votes
1answer
391 views

SharePoint 2010 Javascript JSOM creating a List View Web Part using javascript

I was able to follow along and add a Content Editor web part to a page using javascript from MSDN here. I am now interested in trying to find a way to add a List View or Data View web part to a page ...
0
votes
1answer
246 views

Pagination not working with XSLTViewWebpart when created using Powershell

I am having similar issue as mentioned in below URL's. Paging in XsltListViewWebPart is not working perfectly when added programmatically Why don't folders work when adding an ...
0
votes
1answer
578 views

Using xsl stylesheet with List View Web Part to display custom text

I am using a custom xsl stylesheet in Sharepoint 2013 listview webpart using the "XSL Link" property. The list view shows some items based on a filter. I want to display custom text such as "No ...
0
votes
1answer
586 views

How to create XsltListviewWebpart on Sharepoint Wepart page using visual studio?

My requirement is, I want to add one Sharepoint webpartpage in my visual studio solution, which deploys to /Pages library, where I want to show data from three different lists of same site. After ...
0
votes
1answer
539 views

Updating List View Web Part property in page

I have a List View web part (In the page > Add web part > App > document library name). I need to update the TitleUrl property of this web part through C# code. The SaveChanges() method below works ...
0
votes
1answer
227 views

Changes made to XSLTListViewWebPart in SharePoint Designer not showing on page

I am trying to learn, through trial and error, how to get values from parameters that are declared in the ParameterBindings section in an XSLTListViewWebPart through SharePoint Designer. I have ...
0
votes
1answer
38 views

What is the meaning of this XSLT?

I want to know the meaning of this following XSLT Code shown below... <xsl:choose> <xsl:when test="(substring-before(substring-after(@Department,'=*&quot;&gt;'),'&lt;')) = ...
0
votes
0answers
343 views

Sharepoint 2013 List WYSIWYG Designer views

We need to offer our users a way to freeform format Custom List fields anywhere on a SharePoint page. The designer can not be InfoPath, SharePoint Designer or Reporting Services. Design experience ...
0
votes
1answer
203 views

asp Update Panel with timer control updates XSLTListViewWebPart

I have used one user control in SharePoint master page which will automatically refresh on every five seconds ( I have used asp Update Panel and asp timer control for doing this) And I have one ...
0
votes
1answer
229 views

Data view web part joined subview fails due to extra characters in ID field

I created a joined subview in a data view web part however it is failing to find any matching items because one of my join columns IdeaID. is bringing in additional characters (see image below). ...
0
votes
1answer
122 views

XML code for List view

I am trying to create a list view using xslt style sheet coding. I find out how write xslt with help of w3schools. But in order to write xslt coding i have to see the xml code of list view . Any one ...
0
votes
1answer
812 views

How to use XSLT in sharepoint

I am new to XSLT coding in SharePoint, but I know that we can use XSLT coding to create a list view with more sty-lings. I have a list named "detailsOfEmployee" with columns title, name, Id, ...
0
votes
0answers
311 views

XslLink doesn't work

I create a webpart on my page. And I give style to the webpart with xslt file. And I'm linked this xslt file in my page. But xslt file doesn't work. This is my code: ...
0
votes
1answer
155 views

Want to show item from another list to a different List view

I am modifying a view of List A. My view page is colorcode.aspx and I have one more List B which items need to shown in the View page of colorcode.aspx. I want to know using xsl:value-of select="" ...
0
votes
0answers
287 views

How to change the header column's DisplayName and font of listviewwebpart?

I'm not able to change the column header in my XsltListViewWebPart. I have modified view and added the display name property. But its not working! How can I change the text, font etc of my header row ...
0
votes
1answer
404 views

(Calendar) list views disappear from view selector menu of list view webpart

Me and my colleague are having a problem with disappearing programatically created (Calendar) list views. After the creation of the site, the views are created correctly and are displayed in the view ...
0
votes
0answers
445 views

XSLTListViewWebPart is not working in SharePoint 2013

I have migrated my site from SharePoint 2010 to SharePoint 2013 and changed the layout as well. Then I figured out that the pages which contains XSLTListVeiwWebpart stopped working as expected. ...
0
votes
1answer
838 views

List View - XSLT Filter by Count

I have a SharePoint list that has several records. One field in the list uses SPServices to query possible values in another list during data entry (essentially a lookup). I created a view and am ...
0
votes
1answer
314 views

Specifying Title URL in List View Webpart

I want to set the Title Url something like /sites/somesite/SitePages/MySearchPage#Default={\"o\":[{\"d\":1,\"p\":\"AverageRating\"}]} where 'AverageRating' is one of my columns using which I am ...
0
votes
0answers
189 views

Is there a way to make a SPGridView look like XSLTListViewWebPart?

is there a possibility to make an SPGridView (or any other WebControl) look like an XSLTListViewWebPart? I want to mimic a sharepoint list, but can't use a plain list, since i have calculated data ...
0
votes
1answer
237 views

XSLT list view webpart is not displaying data after adding view dynamically

I am customizing xsltlist view webpart using c#. I am able to get the results properly till I give the view name to the code. As soon as I give it it's not rendering the data. It's only displaying the ...
0
votes
1answer
626 views

Different list view at folder level

In my custom list I use hierarchy with sharepoint folders (Projects, Agreements). I would like to render root folder list level and second depth level in some special way. At list items level I would ...
0
votes
1answer
241 views

How to structure my sharepoint 2007 xslt to sum

I'm having a little trouble with some syntax for my xslt statement on a custom sharepoint page, any help would be much appricated. I've summed a column from a list and it displays correctly (code ...
0
votes
1answer
324 views

Error caused after adding XSLT list web part to page with Document Library web part

I am trying to apply a xslt list view from one site to a bunch of other sites. This is a filtered calendar web part in list style not calendar view, so I cant use an overlay. I am adding the web part ...
0
votes
1answer
419 views

List View Filter by Filtered Lookup field

There is an XSLT List View web part and I want to filter data by Filtered Lookup field. What is a proper way to do this? When I click "Edit the current view" of web part and filter by this field it ...
0
votes
1answer
153 views

use of 14hive resources in XSLT for XLV

Is there a way to use 14hive(!) custom resources ( Resource:MyCompany.MyProject.resx, MyProject.SomeComponent.SomeResourceKey; ) in a XSLT files for XsltListViewWebPart (and views)? Please, notice the ...
0
votes
1answer
347 views

XSLT in DVWP : Using a Content Type, I'm not able to view @Author

I've just upgraded from SharePoint 2007 to SharePoint 2010. I developed a lot of stuff in XSL in 2007 - and while a lot of it works, there are some bugs I've found in my code that I don't know what to ...
0
votes
0answers
259 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 ...
0
votes
0answers
1k 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 ...
0
votes
1answer
504 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 ...
0
votes
0answers
351 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 ...
0
votes
1answer
2k views

XsltListViewWebPart and Content Deployment

I would like to know if there is a way to deploy (or migrate) an XsltListViewWebPart with a content deployment job ? To explain further, I have two environments, "Authoring" and "Production", and I ...