This project has moved and is read-only. For the latest updates, please go here.

Get first n characters but preserve tags

Topics: User Forum
Aug 8, 2013 at 8:13 PM

What I wanted to achieve is a kind of html content preview/summary but instead of using InnerText that strips tags I wanted to do this while preserving tags. Any suggestions on how should I go about doing this?