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

[Solved] Placement of statistics inconsistent

1 Answer 105 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Steve Y
Top achievements
Rank 2
Steve Y asked on 01 Jun 2009, 02:55 PM
Hi,

I want to have the word count statistics displayed at the bottom of the editor page on the same line/row as the other module buttons (design, html, preview). Sometimes they are displayed right justified on the same line and other times they appear left justified on a new row immediately underneath the module buttons.

I have two questions. Where are they supposed to appear and how to I get them to consistently be right justified on the same row as the module buttons (which is where I want them)

You can see the weirdness for yourself if you go to the editor default demo here http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx

In the settings area to the right of the editor, the default settings seem to be default toolsfile, all the modes and all the modules. In this case, the count is right justified and on the same line as the modules.

Now deselect Rad Editor Statistics and then select it again. You will see the word count disappear and when it comes back, it's on its own separate row underneath the modules.

When I launch my own editor, I cannot get the stats to appear anywhere other than left justified on a separate row.

Thanks,
Steve

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 04 Jun 2009, 10:03 AM
Hi Steve,

Please, make sure that the RadEditor's EditModes property is not set to "Design", because in this scenario the edit mode buttons will be hidden along with the whole Bottom Docking zone. Therefore the Statistics module will be automatically shifted by design to the Modules DockingZone.

Here is an example on how to set the DockingZone of the RadEditorStatistics module to Bottom, e.g.

<telerik:radeditor runat="server" ID="RadEditor1">
    <Modules>
        <telerik:EditorModule Name="RadEditorStatistics" Visible="true" dockingZone="Bottom" />
    </Modules>
</telerik:radeditor>

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Steve Y
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or