Questions tagged [dataformwebpart]
20 questions
6
votes
1 answer
Dynamically set the DefaultValue of a ParameterBinding in a DataFormWebPart
In my custom aspx page in WSS I am using a DataFormWebPart with an XSL file to render some data. In order to pass values to the XSL I use parameter bindings. Specifically, I need to pass in the server host URL like this:

Peter Lillevold
- 33,668
- 7
- 97
- 131
2
votes
1 answer
Sharepoint DataFormWebPart in Edit Form mode not saving when used inside a custom WebPart
I have a requirement to create an edit form for a custom sharepoint list that displays/allows edit/hides certain fields based on the user profile. So I created a non-default edit form, copied its WebPartPages:DataFormWebPart to a custom webpart…

user5719350
- 31
- 4
2
votes
1 answer
Custom Filter Web Part to filter/update ListView Web Part
Scenario : I need Refresh/Filter the Items/records displayed in List View Web Part on the same page based on selected filters. So I created Visual Web Part and tried to modify the View of List View Web Part Programmatically. So far i have reached…

Mithun Ganatra
- 453
- 4
- 21
1
vote
0 answers
SharePoint Dataform webpart redirection issue
I have two web parts in my sharepoint aspx web page. One is Content editor web part and the other is data form web part.
In data form web part, I have a data view and I need to pass a parameter "id" to this dataview which will show the project…

John
- 11
- 1
1
vote
1 answer
SharePoint:FormField in a custom webpart?
On my home page, I want a simple webpart that allow users to quickly fill an entry in a list.
The list have, let's say, three fields : title (text), body (rich text), category (lookup).
I don't want to use the standard DataFormWebPart because I have…

Steve B
- 36,818
- 21
- 101
- 174
1
vote
0 answers
DataForm Web Part Sorting Issue
I'm facing the strange issue with data form web part sorting.
After clicking on ascending/descending from the header, instead of sorting what happens is, all the groups are appearing multiple time.
And this same thing happens after every time I…

Rohit Waghela
- 844
- 3
- 11
- 21
1
vote
3 answers
Own DataFormWebPart: Unable to display this Web Part
Unable to display this Web Part. To troubleshoot the problem, open this
Web page in a Microsoft SharePoint Foundation-compatible HTML editor
such as Microsoft SharePoint Designer. If the problem persists, contact
your Web server administrator.
The…

user307852
- 21
- 1
- 6
1
vote
2 answers
Truncating HTML attribute value in SharePoint DataFormWebPart
I'm using DataFormWebPart to display all announcements in the SharePoint site collections. It uses SPDataSouce with DataSourceMode set to CrossList and it works OK. The text of the announcement comes from the XML attribute:

andy svar
- 11
- 2
1
vote
1 answer
Wrap Container ID around DataFormWebPart in SharePoint 2010
I am working on SharePoint 2010, and i am creating custom display using DataForm.Webpart. I am trying to implement the Isotope jquery Plugin and up to a point things are working ok.
But more to my question, how can I set a div/css ID to wrap around…

George
- 333
- 1
- 3
- 9
1
vote
2 answers
Using regular expressions in the Search Core Results web part XSLT
The Search Core Results SharePoint web part uses XSLT 1.0 to transform search results for display. I would like to manipulate some of the result text using regular expressions. Alas, XSLT 2.0 (containing regular expression support) is not available…

Alex Angas
- 59,219
- 41
- 137
- 210
0
votes
1 answer
Extending DataForm Web part Not showing Node Value
I'm trying to create a custom web part by inheriting the dataformwebpart. the problem i'm facing is that in xsl i'm not able to display value of xml nodes although i'm getting the names of nodes.
below is my sample code, xsl, xml
public override…

Ashutosh Singh-MVP SharePoint
- 5,283
- 5
- 26
- 42
0
votes
1 answer
XSLT: Calculate results for filtered subset and full set of data in one go
My xslt-fu is still very weak. Early days.
My XML data is a list of companies, their service provider, and their value.
I've managed to group by service provider so I can see which service providers have the most market share by number of clients,…

Jhong
- 2,714
- 22
- 19
0
votes
1 answer
Using jQuery to find selected row in a dataFormWegbPart
I have a sharepoint page with 2 dataformwebparts on it. Selecting the first, filters the second. That all works great but now I need to find out what row is selected in the first so that I can add an ID parameter (taken from the first column) to a…

chrisp_68
- 1,731
- 23
- 41
0
votes
1 answer
sharepoint newform with secondary newform webpart of another list
I have a "primary newform" of list 1
which contains a "secondary newform dataformwebpart" of list 2.
I want enter values for "primary list 1" AND values for "secondary list 2" in one dialog. I want to save the values both in list 1 AND list 2 with…

Steve Rabbit
- 21
- 3
0
votes
1 answer
DataFormWebPart accessing previous versions of an item in WSS3.0
I am running WSS3.0 and have a custom list which contains versioning on a couple of fields. When I click on an item and I view the item page I see the history of all the fields which I have made changes to. This works fine as expected.
I have…

Jonathan Stanton
- 2,531
- 1
- 28
- 35