Json text returned as HTML

2 posts, 1 answers
  1. Kristian
    Kristian avatar
    16 posts
    Member since:
    Jun 2010

    Posted 02 Feb 2012 Link to this post

    My json response has a string returned as HTML, for example
    "Names":"<bold>bold<\/bold>"

    This is stored in a kendo datasource and then applied to a grid.
    How can I get my grid to display bold instead of
    <bold>bold<\/bold>
  2. Answer
    Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 02 Feb 2012 Link to this post

    Hello Kristian,

    The Kendo Grid columns have an encoded property that should serve your purpose.

    http://www.kendoui.com/documentation/ui-widgets/grid/configuration.aspx

    Greetings,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top