The datagrid was converting the escape sequences to characters for my. The
GridView does not do that - it apparently lets the browser to that.
So, my print utility will have to do the conversions. Are you aware of any
docs on that process? i.e. convertingö to a little o with dots on top?
Thanks,
Gary
Thanks for the followup Gary,
Yes, GridView and datagrid have difference on text encoding. So far the
what I get is for built-in BoundColumn or BoundField, GridView has the
"HtmlEncode" attribute setting for you to control the escaping of databound
values while DataGrid didn't(it may always do or not do).
Also, glad that you've found your own way to workaround the problem.
If you have any further questions, please feel free to post here also.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "GaryDean" <GaryDean@newsgroups.nospam>
>References: <Ovimj4a7HHA.4584@TK2MSFTNGP03.phx.gbl>
<qcyH40f7HHA.6140@TK2MSFTNGHUB02.phx.gbl>
>Subject: Re: GridView / DataGrid difference
>Date: Sun, 9 Sep 2007 17:26:23 -0700
>The datagrid was converting the escape sequences to characters for my. The
>GridView does not do that - it apparently lets the browser to that.
[quoted text clipped - 23 lines]
>>
>> #BoundField.HtmlEncode Property
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.boundfiel
>> d.htmlencode.aspx
>>
[quoted text clipped - 14 lines]
>>
>> Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
>> ications.
>>
[quoted text clipped - 158 lines]
>>></body>
>>></html>