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

ToolbarMode="ShowOnFocus" doesn't

3 Answers 29 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 22 Jul 2010, 06:20 PM
Set a page like this ...

  <head runat="server">
    <title></title>
  </head>
  <body>
    <form id="form1"
          runat="server">
      <telerik:radscriptmanager runat="server"></telerik:radscriptmanager>
      <br/>
      <br/>
      <br/>
      <br/>
      <br/>
      <br/>
      <div>
        <telerik:RadComboBox ID="RadComboBox1"
                             runat="server">
          <Items>
            <telerik:RadComboBoxItem Value="1"
                                     Text="Monday"/>
            <telerik:RadComboBoxItem Value="2"
                                     Text="Tuesday"/>
            <telerik:RadComboBoxItem Value="4"
                                     Text="Wednesday"/>
            <telerik:RadComboBoxItem Value="8"
                                     Text="Thurday"/>
            <telerik:RadComboBoxItem Value="16"
                                     Text="Friday"/>
            <telerik:RadComboBoxItem Value="32"
                                     Text="Saturday"/>
            <telerik:RadComboBoxItem Value="64"
                                     Text="Sunday"/>
          </Items>
        </telerik:RadComboBox>
        <telerik:RadEditor ID="RadEditor1"
                           runat="server"
                           EnableResize="false"
                           ContentAreaMode="Div"
                           EditModes="Design"
                           Height="100px"
                           NewLineBr="false"
                           ToolbarMode="ShowOnFocus"
                           ToolsFile="~/App_Data/Editor/ToolsFileLimited.xml"
                           Width="256px">
        </telerik:RadEditor>
 
      </div>
    </form>
  </body>
</html>

Run it, get the focus on the combobox then tab to move focus to the editor.

I expected the toolbar to display but it doesn't unless you actually click inside the editor. Surely that's not right.

-- 
Stuart

3 Answers, 1 is accepted

Sort by
0
Stuart Hemming
Top achievements
Rank 2
answered on 27 Jul 2010, 08:22 AM
<waves>
  Hello?
</waves>

-- 
Stuart
0
Dobromir
Telerik team
answered on 27 Jul 2010, 10:56 PM
Hi Stuart,

By design, when RadEditor's ToolbarMode property is set to ShowOnFocus you need to click inside the content area to display the toolbar, and click on the page to hide it - the functions that toggle visibility of the toolbar are assigned as handlers to the "click" event.

I will log this scenario in our ToDo list for further investigation and we will do our best to handle it for one of the upcoming releases. However, I am unable to provide a firm estimate. I will bookmark this ticket and will write back to you as soon as we have any suitable workaround.

Greetings,
Dobromir
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Stuart Hemming
Top achievements
Rank 2
answered on 29 Jul 2010, 08:06 PM
Dobromir,

Thanks for the response and for the promised update.

-- 
Stuart
Tags
Editor
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Stuart Hemming
Top achievements
Rank 2
Dobromir
Telerik team
Share this question
or