rahulmca1@gmail.com
5 Jun 2007, 10:35 PM
Hi,
I am using array grid to display records from server database.
Problem is if I am and field of record has '<' character like 'hello<friends'
then this field is shown truncated and shown as 'hello' in the grid.
This is because when rendering '<' is recognized as starting of html tag.
So we need to replace it with < then values are rendered correctly as 'hello<friends'.
On server side I replaced illegal characters like '<' with < eg--'hello<friends'
Now when parsing xml using javascript I get 'hello<friends' I am not getting 'hello<friends'
which is as it should be.
Should I now again replace '<' character in 'hello<friends' by '<' so that data in grid is displayed correctly.
Now How do I go about it.
Thanks
with regards.
I am using array grid to display records from server database.
Problem is if I am and field of record has '<' character like 'hello<friends'
then this field is shown truncated and shown as 'hello' in the grid.
This is because when rendering '<' is recognized as starting of html tag.
So we need to replace it with < then values are rendered correctly as 'hello<friends'.
On server side I replaced illegal characters like '<' with < eg--'hello<friends'
Now when parsing xml using javascript I get 'hello<friends' I am not getting 'hello<friends'
which is as it should be.
Should I now again replace '<' character in 'hello<friends' by '<' so that data in grid is displayed correctly.
Now How do I go about it.
Thanks
with regards.