Hi,
I have a RadTabstrip with Multipage which contain load-on-demand Radeditors.
Every time a tab is clicked I resize the Editors to their original size with
This only works once on every tabclick, the Height value in control.get_element().style.height seems to get lost somewhere in the process. Besides I cannot find anything about the updateEditorSize function, so I do not know which Arguments that one takes.
Can you help?
Regards,
Marc
I have a RadTabstrip with Multipage which contain load-on-demand Radeditors.
Every time a tab is clicked I resize the Editors to their original size with
function resizeRadEditors() { |
if ($telerik && Telerik.Web.UI.RadEditor) |
{ |
var len = $telerik.radControls.length; |
for (var i=0;i<len;i++) |
{ |
var control = $telerik.radControls[i]; |
if (Telerik.Web.UI.RadEditor.isInstanceOfType(control)) |
{ |
//alert(control.get_element().style.height); |
control._updateEditorSize(control.get_element().style.height); |
} |
} |
} |
Can you help?
Regards,
Marc