Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

RadEditor content iframe size small

$
0
0

Agree 100% is likely an issue with programmatically hide/show in a nested control as that's what I'm doing.

 

Here's my setup, in a panel or list control I have this:

 

                        <telerik:RadEditor ID="HTMLEditor" runat="server"
                     
                     ResolvedRenderMode="Classic"  
                    OnClientLoad="OnClientLoad" Width="100%">

      <Tools>
                        <telerik:EditorToolGroup Tag="MainToolbar">
                            <telerik:EditorTool Name="FindAndReplace" RenderMode="Classic" />
                            <telerik:EditorSeparator RenderMode="Classic" />
                            <telerik:EditorSplitButton Name="Undo" RenderMode="Classic">
                            </telerik:EditorSplitButton>
                            <telerik:EditorSplitButton Name="Redo" RenderMode="Classic">
                            </telerik:EditorSplitButton>
                            <telerik:EditorSeparator RenderMode="Classic" />
                            <telerik:EditorTool Name="Cut" RenderMode="Classic" />
                            <telerik:EditorTool Name="Copy" RenderMode="Classic" />
                            <telerik:EditorTool Name="Paste" RenderMode="Classic" ShortCut="CTRL+V / CMD+V" />
                        </telerik:EditorToolGroup>
                        <telerik:EditorToolGroup Tag="Formatting">
                            <telerik:EditorTool Name="Bold" RenderMode="Classic" />
                            <telerik:EditorTool Name="Italic" RenderMode="Classic" />
                            <telerik:EditorTool Name="Underline" RenderMode="Classic" />
                            <telerik:EditorSeparator RenderMode="Classic" />
                            <telerik:EditorSplitButton Name="ForeColor" RenderMode="Classic">
                            </telerik:EditorSplitButton>
                            <telerik:EditorSplitButton Name="BackColor" RenderMode="Classic">
                            </telerik:EditorSplitButton>
                            <telerik:EditorSeparator RenderMode="Classic" />
                            <telerik:EditorDropDown Name="FontName" RenderMode="Classic">
                            </telerik:EditorDropDown>
                            <telerik:EditorDropDown Name="RealFontSize" RenderMode="Classic">
                            </telerik:EditorDropDown>
                        </telerik:EditorToolGroup>
                    </Tools>
                     
                     </telerik:RadEditor>

 

 Now, in the aspx page I have a javascript block with this function:

 

function OnClientLoad(editor, args) {

        $(".reContentCell > iframe").height("100%");
        $(".RadEditor").height("");

}

 I tweaked the selector slightly since my post yesterday. Remember you need jQuery to get the implementation of OnClientLoad() to work. If this doesnt solve your issue, let me know.


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>