I'm using a simple textbox and I'm trying to use a chinese keyboard and while I'm writing, sooner or later I will get a Catastrophic failure.
I'm writing gibberish because I don't know how to read or write Chinese but I'm afraid this might occur to our Chinese clients.
Here's the full information:
CH (Chinese simplified, PRC) - New experience input style (more attached)
Message: Unhandled Error in Silverlight Application
Message: System.Exception: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.Control_Raise(Control control, IManagedPeerBase arguments, Byte nDelegate)
at System.Windows.Controls.TextBox.OnTextInputUpdate(TextCompositionEventArgs e)
at System.Windows.Controls.Control.OnTextInputUpdate(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
If I can add any more information that can help you to help me, please request it.
13 Answers, 1 is accepted
Unfortunately, RadRichTextBox does not support writing in Chinese, Japanese and Korean currently. We are researching the possibilities of using Input Method Editors in RadRichTextBox, which will enable writing in languages that make use of IME (Input Method Editors). We have a PITS issue where you can vote and track our progress on this feature.
You can follow the PITS Issue by its ID: 4584
Here you can find the PITS Issue: Public URL
Note that Luis Pinho is actually meeting the same problem with the standard Microsoft TextBox, so these issues are present not only with RadRichTextBox, but with MS TextBox and RichTextBox as well.
the Telerik team
Hi, Telerik team,
In my current project, kind of editor such as RichTextBox should be used and I've searched and read related forum threads
regarding troubles to write double byte chracter ,which I'm using Korean.
As for your comment ,
"so these issues are present not only with RadRichTextBox, but with MS TextBox and RichTextBox as well."
I created simple project which contains normal MS richtextbox and telerik's RadRichTextbox as follows;
There is no problem to write in MS RichTextBox,however,tererik one throws error as soon as start typing, as shown attached image
However, when I type in telerik editor of SL demo,in which I really needs this editor for my project, no errors but character is broken
as attached image 'telerik editor.png'. I typed same letter as in the errscreen.png and you can compare the broken letter.
On the other hand, when I copy letters from other program such as MS-Word into RadRichTextbox, it shows no problem
as you see in telerik editor.png.
System environment is
- VS2010 english
- windows 7 : korean
- SL 4
- tererik : 2010 Q3 SP1
It would be highly appreciated you can solve this problem .
I'm waiting your reply.
Pls don't miss this thread.
last week I tried one thing, I used another browser Chrome) and guess what, no error...
Can you try that just to check it (for me, it's not a solution because our client only has IE installed in their machines and no other browser can exist).
I downloaded chrome and tried,but no good result.
Though throwing excetion on typing keyboard, letters are not typed correctly
as I did in RadRichtextbox SL Demo. Pls see attached image.
I think I have to wait untill telerik team meet this problem or have to go with MS one.
Pls try with <admin>company name removed</admin> one.
When I type letters in their demo page, all letters are typed correctly except wrong carret position.
They might forget it is double byte.
I think telerik also misunderstand to apply double byte character,.
As I typed letters in demo page,it should wait another byte but shows typed one immediately,
so incomplete letter is shown.
What we meant in out first replay is that to our regret the error in IE is caused by the standard MS TextBox that RadRichTextBox internally uses for text input. You can see this in the stack-trace of the exception you got (indeed there is not a single Telerik method involved). Thus we can do little to prevent this problem.
As previously explained we are planning to introduce support for languages with complex characters like Korean but we are still not able to specify exact timeline. We hope will be able to add this feature in Q1 release or soon after it.
the Telerik team
Thank you for your reply,however,sad news to me that double byte problem will be resolved in Q1 or next release, bcz I have much pressure to apply RichText function in my current project and have to solve anyway soonest.
As I attached images, what the problem to me is typed letter is incomplete,I guess double byte problem,not the catastrophic failure bcz SL demo has no problem to write. I found another free richtextbox control and they don't have any problem to write in. Though I have not deeply dig in what's going on with RadRichTextBox , I think you may catch up faster.
Thank you for the follow-up and the constructive suggestions. We regret to hear that you have given up on the idea to use RadRichTextBox, but we understand that it is not suitable for your scenario.
Good luck with your project and hope to hear from you again once writing in languages involving complex characters is supported.
the Telerik team
We have tried the Q1 release of this year, however the same Catastrophic problem happened when IME input is used.
We would like to know whether there is any planned release to fix this problem in the near future.
I really need RadRichTextBox That support for IME
Enter the address below ime will work fine.
But I'd like to use your product.
Link removed by Admin
Thank you for this suggestion, we have this feature in our to-do list scheduled for Q2 and helpfully we will be able to introduce it. You can follow the PITS Issue by its ID: 4584
Here you can find the PITS Issue: http://www.telerik.com/support/pits.aspx#/public/silverlight/4584
In the meanwhile let us know if we can help with anything else.
the Telerik team