I am developing windows application using C# 3.0 and .NET framework 3.5. My application has many forms and on them many text boxes and uses XML as back end.
I am using Windows XP SP3 and have installed east Asian languages. After installing east Asian languages, i am getting three extra menu items in the default context menu (cut, copy, paste context menu) for text box. These three options are : "Right to left Reading order", "Show Unicode control characters" and "Insert Unicode control characters". The third option opens to right and displays Unicode control characters that can be added to text box (http://www.microsoft.com/resources/d....mspx?mfr=true).
Last two options of these Unicode control characters are "Record Separator (Block separator)" and "Unit Separator (Segment separator)" which are invalid XML characters and so cannot be serialized to XML (I am using XMLSerializer).
Now one way to handle this is to use validation, but I have many text boxes and some grid views so is there any other way to avoid these characters like disabling these two options or something like that?
Regards,
Abhishek
I am using Windows XP SP3 and have installed east Asian languages. After installing east Asian languages, i am getting three extra menu items in the default context menu (cut, copy, paste context menu) for text box. These three options are : "Right to left Reading order", "Show Unicode control characters" and "Insert Unicode control characters". The third option opens to right and displays Unicode control characters that can be added to text box (http://www.microsoft.com/resources/d....mspx?mfr=true).
Last two options of these Unicode control characters are "Record Separator (Block separator)" and "Unit Separator (Segment separator)" which are invalid XML characters and so cannot be serialized to XML (I am using XMLSerializer).
Now one way to handle this is to use validation, but I have many text boxes and some grid views so is there any other way to avoid these characters like disabling these two options or something like that?
Regards,
Abhishek
Comment