|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
DataGrid doesn't do HTML entity encoding.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 "<Unknown>". Does anybody know how to make this happen? You can use
String.Replace("<","<").Replace(">",">") HTH Elton Wang elton_w***@hotmail.com >-----Original Message----- strings is "<Unknown>".>I have a DataGrid bound to a table where one of the >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 isShow quoteHide quote >"<Unknown>". Does anybody know how to make this happen? > > >. >
Datagrid postback problem?!?
Datagrid window.open iterate through only one column of a datagrid Annoyingly simple problem _EditCommand not firing... Access individual item in a datagrid Datagrid sorting does not work Group Headers in Datagrid Using an IF statment within an ItemTemplate Check Parent-child relationship in datagrid |
|||||||||||||||||||||||