R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
Displaying HTML in ListX
Last Post 01 Jan 1900 05:00 AM by . 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
shalikXUser is Offline
New Member
New Member
Posts:17

--
31 Aug 2007 02:35 PM  
I am trying to retrieve data from database in ListX.
My Problem is that when i retrieve certain column it retrives data with HTML tags.
For example:

select summary from mytable.

On ListItem of ListX i have
[summary]

It displays summary like this..

<p><span class="myclass">This is my summary</span></p>

Can anyone suggest me how to get rid of this html tags??

I just need the data as "This is my summary" not the html tags.

Thanks in advance.
contactdpUser is Offline
Basic Member
Basic Member
Posts:475

--
31 Aug 2007 03:18 PM  
Use DecodeHTML formatter like

[$summary,{DecodeHTML}]
Durga Prasad(DP) | Senior Web Engineer<br>R2integrated
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share