Hi,
I want some solution that would handle all the three scenarios mentioned below.
Scenario 1:
I am using Content property of RadEditor to get values entered by the user in the RadEditor control. However, I see that every space in the value entered by user is getting converted to . For example, if user has entered the value as - 'Hi Hello' in the editor, the value we get from RadEditor1.Content is - 'Hi Hello'. I don't want this to happen.
Scenario 2:
Also, my requirement is that in the same editor the user should be able to insert nonbreaking space by Ctrl+Shift+Space. For example, if the user types 'Hi(Ctrl+Shift+Space)Hello' we must get the value as 'Hi Hello'.
Scenario 3:
Also, if user manually types in the editor, it should be retained as it is and should not get replaced with space.
I tried using Text property of RadEditor. But it handles only first scenario mentioned and considers Ctrl+Shift+Space as normal space and not as
Answer through sample code would be helpful.
Thanks,
Prajna
I want some solution that would handle all the three scenarios mentioned below.
Scenario 1:
I am using Content property of RadEditor to get values entered by the user in the RadEditor control. However, I see that every space in the value entered by user is getting converted to . For example, if user has entered the value as - 'Hi Hello' in the editor, the value we get from RadEditor1.Content is - 'Hi Hello'. I don't want this to happen.
Scenario 2:
Also, my requirement is that in the same editor the user should be able to insert nonbreaking space by Ctrl+Shift+Space. For example, if the user types 'Hi(Ctrl+Shift+Space)Hello' we must get the value as 'Hi Hello'.
Scenario 3:
Also, if user manually types in the editor, it should be retained as it is and should not get replaced with space.
I tried using Text property of RadEditor. But it handles only first scenario mentioned and considers Ctrl+Shift+Space as normal space and not as
Answer through sample code would be helpful.
Thanks,
Prajna