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

RadRichTextBoxRibbon UI pop up issues

1 Answer 49 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Alexandra
Top achievements
Rank 1
Alexandra asked on 10 Nov 2014, 09:39 PM
Hi,

We are using the standard RadRichTextBoxRibbonUI with the RichTextBox. Pretty much pulled the code from the demo before modify to assure everything worked before modifying. Anyways, we are having a problem with pop ups on the demo code. Example press the Find/Replace button and navigate away from the control window and the pop up is still open. Is there a way to force them closed?

thanks,
Alexandra

1 Answer, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 13 Nov 2014, 09:18 AM
Hello Alexandra,
You can use the Close() method of FindReplaceDialog:
this.radRichTextBox.FindReplaceDialog.Close();

All of the dialogs are exposed through properties of RadRichTextBox, so you should be able to get the needed instances and close them as needed (for example of LostFocus of the main application window or whatever fits your requirements).


Regards,
Boby
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
RichTextBox
Asked by
Alexandra
Top achievements
Rank 1
Answers by
Boby
Telerik team
Share this question
or