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

TextChanged Event not firing

1 Answer 79 Views
RichTextEditor
This is a migrated thread and some comments may be shown as answers.
HowieD
Top achievements
Rank 1
HowieD asked on 28 May 2015, 07:57 PM

Hi All,

in the former control I used the TextChanged Event with others to set a dirty flag providing the user a message to save his changes before leaving the Editor. In the current control the Event is not firing.

As an alternative I used the ContentChanged Event if the user changes any text. But this Event has the drawback that is fired after loading the form before the user had any chance to enter any character.

What can be done to get that scenario working.

 

Best Regards

Herbert

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 01 Jun 2015, 02:07 PM
Hi Herbert,

I have discovered that the event is fired only when the RadRichTextEditor is associated with RichTextEditorRibbonBar. This is an issue and I have logged it in our Feedback Portal. You can track the item for status changes and add your vote for it here.

To workaround this you should set the AssociatedRichTextEditor property when the form is shown:
void Form1_Shown(object sender, EventArgs e)
{
    ribbonBar1.AssociatedRichTextEditor = radRichTextEditor1;
}
 
Your Telerik Points have been updated for this report.

I hope this will be useful.

Regards,
Dimitar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
RichTextEditor
Asked by
HowieD
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or