This question is locked. New answers and comments are not allowed.
Hello,
we want to use the RichTextBox together with speech recognition software through UIAutomation. However, the RichTextBox does not expose a consolidated UIAutomation interface to the text content.
What is the supported way to use the RichTextBox with UIAutomation?
e.g. get all the text content, change selection, insert/delete selection.
Best regards,
Markus
we want to use the RichTextBox together with speech recognition software through UIAutomation. However, the RichTextBox does not expose a consolidated UIAutomation interface to the text content.
What is the supported way to use the RichTextBox with UIAutomation?
e.g. get all the text content, change selection, insert/delete selection.
Best regards,
Markus
6 Answers, 1 is accepted
0
Hi Markus,
Unfortunately RadRichTextBox doesn't support UI automation for now. This feature is in our to-do list, but currently it's not scheduled for implementation.
Boby
the Telerik team
Unfortunately RadRichTextBox doesn't support UI automation for now. This feature is in our to-do list, but currently it's not scheduled for implementation.
Please, excuse us for the inconvenience. Don't hesitate to contact us if you have other questions.
Greetings,Boby
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Markus
Top achievements
Rank 1
answered on 26 Jan 2012, 11:14 AM
Hello,
is Telerik aware of any workarounds to cope with that situation? If not, what are our possibilities to get the feature scheduled?
Best regards,
Markus
is Telerik aware of any workarounds to cope with that situation? If not, what are our possibilities to get the feature scheduled?
Best regards,
Markus
0
Hello Markus,
You can try to create automation wrapper of control deriving RadRichTextBox by yourself (as described here). This, however, is not a trivial task and we are not sure if implementing it would be possible without some internal changes.
Q1 will be released in a couple of weeks, and the schedule for Q2 is already filled up with important features requested by numerous customers. We will try to squeeze the UI automation for Q2, but at this time we are not sure if this would be possible, so the implementation of the feature could be scheduled for later release.
Boby
the Telerik team
You can try to create automation wrapper of control deriving RadRichTextBox by yourself (as described here). This, however, is not a trivial task and we are not sure if implementing it would be possible without some internal changes.
Q1 will be released in a couple of weeks, and the schedule for Q2 is already filled up with important features requested by numerous customers. We will try to squeeze the UI automation for Q2, but at this time we are not sure if this would be possible, so the implementation of the feature could be scheduled for later release.
Don't hesitate to contact us if you have other questions.
Regards,Boby
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Markus
Top achievements
Rank 1
answered on 31 Jan 2012, 05:29 PM
Hello,
today I tried to implement my own UIAutomation TextProvider. However, it turned out that Silverlight does not support this. Internal code in the AutomationPeer class expects the internal class TextRangeProvider and fails with a class cast exception when a custom ITextRangeProvider is used. From my perspective this means that even you would not be able to implement a TextProvider for the RadRichTextBox.
today I tried to implement my own UIAutomation TextProvider. However, it turned out that Silverlight does not support this. Internal code in the AutomationPeer class expects the internal class TextRangeProvider and fails with a class cast exception when a custom ITextRangeProvider is used. From my perspective this means that even you would not be able to implement a TextProvider for the RadRichTextBox.
Do you have any experience or advice or contacts to Microsoft to get help with this problem?
Thanks,
Markus
0
Hi Markus,
Unfortunately we have not investigated the problem in such details. You can report the issue directly to Microsoft at Microsoft Connect, and also send us (through a support ticket) sample project that reproduces it, so we can investigate it further.
Thank you for your cooperation.
Greetings,
Boby
the Telerik team
Unfortunately we have not investigated the problem in such details. You can report the issue directly to Microsoft at Microsoft Connect, and also send us (through a support ticket) sample project that reproduces it, so we can investigate it further.
Thank you for your cooperation.
Greetings,
Boby
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Markus
Top achievements
Rank 1
answered on 03 Feb 2012, 01:51 PM
Hello,
I'm already in contact with Microsoft and will let you know about any results.
Markus
I'm already in contact with Microsoft and will let you know about any results.
Markus