locked
How to display HTML formatted text RRS feed

  • Question

  • Hi all,

    I have in the database a text field in html format.

    Example: Té  Té    (= Té; Té;)

    How can I load the text for a label in text format?

    Thanks and regards

    Wednesday, December 11, 2013 10:29 AM

Answers

  • Hi,

    You will need to view the field as a custom control and use the render event to render it yourself. Here is an example with the default display and then a simple custom control render:

    Render HTML in LightSwitch client

    Dave


    Dave Baker | AIDE for LightSwitch | Xpert360 blog | twitter : @xpert360 | Xpert360 website | Opinions are my own. For better forums, remember to mark posts as helpful/answer.

    • Proposed as answer by Xpert360 Wednesday, December 11, 2013 3:56 PM
    • Marked as answer by Angie Xu Friday, December 20, 2013 2:53 AM
    Wednesday, December 11, 2013 3:56 PM

All replies