RadMarkupEditor focus

2 posts, 0 answers
  1. T
    T avatar
    7 posts
    Member since:
    Jan 2015

    Posted 30 Jun 2015 Link to this post


    It seems that the RadMarkupEditor never gets focus (Focused = false) even when you are typing something (in DesignView). Is this normal behavior?



  2. Stefan
    Stefan avatar
    2891 posts

    Posted 01 Jul 2015 Link to this post

    Hello Tom,

    Thank you for writing.

    RadMarkupEditor is a UserControl and when you type in the text area, the text box is the one with the focus. Not sure what you want to achieve with the focus, but if you want to know whether the design or the html tab is selected, you can use the CommandTabSelected event of the ribbon control:
    RadMarkupDialog dialog = new RadMarkupDialog();
    dialog.Editor.RibbonBar.CommandTabSelected += RibbonBar_CommandTabSelected;
    void RibbonBar_CommandTabSelected(object sender, CommandTabEventArgs args)
        RadMessageBox.Show("Selected Tab: " + args.CommandTab.Text);  

    I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.


  3. DevCraft R3 2016 release webinar banner
Back to Top