display html as text in RadGrid

1 posts, 0 answers
  1. Jiju
    Jiju avatar
    57 posts
    Member since:
    Jul 2011

    Posted 26 Jul 2012 Link to this post

    I am using a grid to display data, it dynamically creating GridBoundColumn. I use System.Web.HttpUtility.HtmlEncode to encode the text, and when retrieving the data i use System.Web.HttpUtility.HtmlDecode to decode the data and then rebind to grid. When displaying the data in grid, it render the html. how can i display the data as text.

    thanks in advance
Back to Top