This is a migrated thread and some comments may be shown as answers.

Arabic text problem

4 Answers 441 Views
Grid
This is a migrated thread and some comments may be shown as answers.
feras
Top achievements
Rank 1
feras asked on 30 Oct 2008, 08:28 AM
hi ,
i am testing your grid and it look fantastic, but i am having big issue with Arabic text.
now let me explain, first of all in my DB fields i used the nvarchar for Unicode entries.
secondly onmy web page i added the following codeing guide
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

now when i try to edit or add a new entry that has Arabic charterers i t inserts garbage these  characters ?????
now if i enter these same values in sql server management  they enter fine, they even show up in the grid fine.

plus sometimes when i want to update some record i get this error
System.Data.Linq.ChangeConflictException: Row not found or changed.
i enabled crud operations on linq data source plus i enabled automatic crud operations in the grid but still i get this error .

thx in advanced for help


4 Answers, 1 is accepted

Sort by
0
feras
Top achievements
Rank 1
answered on 01 Nov 2008, 12:14 AM
hi ,
is this thread have been removed or something ? because i cant see it in the forum

0
Maria Ilieva
Telerik team
answered on 03 Nov 2008, 03:09 PM
Hi feras,

I reviewed the thread history and it hasn't been removed.

Please review the following help topic which should direct you to a possible resolution for your problem.

Greetings,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
feras
Top achievements
Rank 1
answered on 03 Nov 2008, 03:35 PM
hi,
thanks for your reply, i seriously dont know what happened, must be cache problem.
i have did all what you mentioned and nothing worked, again i repeat i have done the wollowing
-my DB field is Nvarchar
-i can enter the values fine with sql manager
-my page has <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- i applied all what you mentioned in the help article
-the grid shows arabic text that i enterd with sql manger perfectly
-when i try to edit i get htis error
System.Data.Linq.ChangeConflictException: Row not found or changed.

hope there is a solution as this is a must for my projects.
thanks in advanced
0
Maria Ilieva
Telerik team
answered on 04 Nov 2008, 12:17 PM
Hi feras,

Please review the follwoing forum posts which elaborates on this error:

http://forums.asp.net/p/1160024/2051914.aspx
http://sebastienlachance.com/2008/07/08/systemdatalinqchangeconflictexception-row-not-found-or-changed/

Kind regards,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
feras
Top achievements
Rank 1
Answers by
feras
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or