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

Toolbar Buttons not working on subsequent editors within tabs

2 Answers 74 Views
Editor
This is a migrated thread and some comments may be shown as answers.
LeBear
Top achievements
Rank 1
LeBear asked on 04 Mar 2015, 02:17 PM
I have an interface with several tabs and a RadMultiPage where all content is loaded so that you don't have to do a postback as you switch tabs.  I have a RadEditor on 3 of the tabs with a custom toolbar (via toolbar file).  The toolbar buttons work on the first editor, but when I click on a button in the second or third, It scrolls me to the top of the page and adds a # to the end of the URL in the browser address bar.

I'm using IE 11.

Any thoughts would be appreciated.

Thank you.

2 Answers, 1 is accepted

Sort by
0
Accepted
Ianko
Telerik team
answered on 05 Mar 2015, 08:49 AM
Hi,

The encountered issue is due to the initially hidden state of the editors in the other tabs.

What you need, is to either call the client-side repaint() method or onParentNodeChanged() when the tab is clicked (when the editor in the MultiPage view is shown). You can examine further details on the matter in this help article--Appearance Issues with Initially Hidden Editor.

Regards,
Ianko
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.

 
0
LeBear
Top achievements
Rank 1
answered on 05 Mar 2015, 03:58 PM
Thanks!

The onParentNodeChanged call did the trick in this case.
Tags
Editor
Asked by
LeBear
Top achievements
Rank 1
Answers by
Ianko
Telerik team
LeBear
Top achievements
Rank 1
Share this question
or