DataGrid doesn't do entity encoding

Discussion in 'ASP .Net' started by Chris Mumford, Mar 20, 2005.

  1. I have a DataGrid bound to a table where one of the strings is "<Unknown>".
    When this is sent out via the DataGrid control as HTML it is not encoded and
    therefore it looks like a tag in the HTML stream. What I would expect is
    "&lt;Unknown&gt;". Does anybody know how to make this happen?
     
    Chris Mumford, Mar 20, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Samuel van Laere

    Entity Name or Entity Number?

    Samuel van Laere, Feb 24, 2007, in forum: HTML
    Replies:
    4
    Views:
    1,715
    Jukka K. Korpela
    Feb 24, 2007
  2. markla
    Replies:
    1
    Views:
    572
    Steven Cheng
    Oct 6, 2008
  3. Norm
    Replies:
    3
    Views:
    2,835
  4. ThatsIT.net.au

    Entity, problem with entity key

    ThatsIT.net.au, Sep 6, 2009, in forum: ASP .Net
    Replies:
    1
    Views:
    1,227
    ThatsIT.net.au
    Sep 7, 2009
  5. Chris Mumford

    DataGrid doesn't do HTML entity encoding.

    Chris Mumford, Mar 20, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    129
    Elton Wang
    Mar 20, 2005
Loading...

Share This Page