RadRichTextBoxRibbon UI pop up issues

2 posts, 0 answers
  1. Alexandra
    Alexandra avatar
    2 posts
    Member since:
    Jan 2014

    Posted 10 Nov 2014 Link to this post

    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
  2. Boby
    Admin
    Boby avatar
    595 posts

    Posted 13 Nov 2014 Link to this post

    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.

     
  3. DevCraft banner
Back to Top