Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

XSLt DataView WebPart

  Asked By: Aaditya    Date: Jan 19    Category: Sharepoint    Views: 3341

I have an XSLT dataview webpart which contains "Comments" column. The
datatype of this column is "multi-line text". Now the data shows fine
when displayed in ListView WebPart. However, when converted to XSLT
DataView WebPart certain special characters are not handled correctly.
For example, if the text contains '(quote), it is getting displayed as
'.

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Jeremey Avery     Answered On: Jan 19

In SharePoint Designer, if you click the Comments field in one of the
rows of the web part, you can click a little arrow button on the right
to get a context menu. One of the options there is "Format as:".
Select "Rich Text" instead of "Text". You will get a warning that you
should only do this in a "trusted environment". Select Yes.

This should fix the formatting. Technically, what this does is add an
option to the xslt  code 'disable-output-escaping="yes"', which allows
any html coding in the source data  to be passed directly to the
browser.

 
Answer #2    Answered By: Mariel Ferrell     Answered On: Jan 19

If Rich Text doesn't do the trick, I've had to change some of mine
to "Label".

 
Answer #3    Answered By: Robert Sandoval     Answered On: May 19

Great tip about the right-click feature; but I do not see that as an option. My "Format As" options are...
Text, Balloon, Number, Hyperlink, Picture and Hyperlink To...

Is there a plug in for SPD 07?

 
Didn't find what you were looking for? Find more on XSLt DataView WebPart Or get search suggestion and latest updates.




Tagged: