Hello Telerik, have some problems)
So, I have my Editor:
And CSS that I have now:
That is all for CSS)
So I want to dynamically change size of editor.
I was trying next scripts:
P.S. It's just impossibru to deal with your code block.
So, I have my Editor:
<telerik:RadEditor Visible="false" Height="300px" CssClass="Editor" ID="reHelpBody" runat="server"<br>
EditModes="Design" ToolbarMode="Default"><br>
<Content><br></Content><br>
<ImageManager ViewPaths="~/Content/images/Help/" UploadPaths="~/Content/images/Help/"<br>DeletePaths="~/Content/images/Help/" MaxUploadFileSize="204800" /><br><Tools><br><telerik:EditorToolGroup><br><telerik:EditorTool Name="Bold" /><br><telerik:EditorTool Name="Italic" /><br><telerik:EditorTool Name="Underline" /><br><telerik:EditorTool Name="ImageManager" /><br></telerik:EditorToolGroup><br></Tools><br></telerik:RadEditor>And CSS that I have now:
.Default.RadEditor .reContentCell {<br> border: 1px solid #D6D6D6 !important;<br>}<br>.Default.RadEditor {<br> background-color: #F3F3F3 !important;<br>}<br>.RadEditor table {<br> position: relative;<br>}<br>.RadEditor .reToolZone table {<br> position: absolute;<br> right: 0;<br> top: 0;<br> width: 180px !important;<br>}That is all for CSS)
So I want to dynamically change size of editor.
I was trying next scripts:
function pageLoad() {<br> var editor = $find("<%=reHelpBody.ClientID%>");<br> editor.get_element().setSize("80","60");<br> }<br><br> function pageLoad() {<br> var editor = $find("<%=reHelpBody.ClientID%>");<br> editor.setSize("80","60");<br> }<br><br> function pageLoad() {<br> var editor = $find("<%=reHelpBody.ClientID%>");<br> editor.get_element().setSize("80","60");<br>
editor.get_element().style.height = "490px";
editor.style.height = "490px;
}
But still I have in Chrome next thing:element.style {}
I tried to append CSS:
.Default.RadEditor{float:right;width:300px;min-width:100px;}
but got nothing. For float it works fine. What else can I do?)
P.S. It's just impossibru to deal with your code block.
