Hebrew characters in Atlas

Last post 12-30-2005 3:12 PM by Eilon. 1 replies.

Sort Posts:

  • Hebrew characters in Atlas

    12-28-2005, 4:43 PM
    • Member
      10 point Member
    • memi
    • Member since 02-08-2004, 5:15 PM
    • Posts 2

    Hi Guys.

    I was really excited to try the new release of Atlas, since it looked like a huge advance over the previous ones.

    I've created a simple page with a button and a DataGrid, and put an <atlas:UpdatePanel> tags around the DataGrid. The button's click event has a code to populate the DataGrid with some data.

    When I clicked the button, I've got a javascript error.

    After about 5 hours of investigation, I found that the error occured because the HeaderText property of the DataGrid's columns contained hebrew text, and it looked like Atlas didn't like that. When I've changed that to English texts, everything worked just fine.

    This problem occured in some more scenarios, such as when a RegisterClientScriptBlock method was called, and the script contained hebrew characters.

    Is there any way to work with Atlas with non-english characters?

    Thanks!

  • Re: Hebrew characters in Atlas

    12-30-2005, 3:12 PM
    • Contributor
      5,654 point Contributor
    • Eilon
    • Member since 06-26-2002, 2:14 PM
    • Redmond, WA
    • Posts 965

    I tried to reproduce this problem but it seems to be working just fine for me. Here's my GridView control (it's inside an UpdatePanel):

      <asp:GridView ID="GridView1" runat="server" AllowPaging="True" DataSourceID="SqlDataSource1">
       <Columns>
        <asp:BoundField DataField="au_lname" HeaderText="אילון" />
       </Columns>
      </asp:GridView>

    Note that I have some Hebrew text in the BoundField. I realize you're using a DataGrid and not a GridView, but that shouldn't make much of a difference.

    Thanks,

    Eilon

    Blog: http://weblogs.asp.net/LeftSlipper/
Page 1 of 1 (2 items)