Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Splitter > Resize RadEditor based on RadSplitter / RadPane size

Not answered Resize RadEditor based on RadSplitter / RadPane size

Feed from this thread
  • Mike Matlosz avatar

    Posted on Mar 18, 2010 (permalink)

    I am trying to take a page and create a RadEditor inside of a horizontal RadSplitter/RadPane at the bottom.  What I was wondering is if there is a way to resize the Editor dynamically with the resizing of the RadPane?  Here is some generic proof of concept code.

    <telerik:RadSplitter runat="server" ID="RadSplitter1" ResizeMode="Proportional" LiveResize="true" Width="100%" Orientation="Horizontal" Height="100%">  
             <telerik:RadPane runat="server" ID="TopPane" Scrolling="Both" MinHeight="30" Width="100%">  
               <p>content...</p>        
             </telerik:RadPane>  
             <telerik:RadSplitBar runat="server" ID="RadSplitBar1" ResizeStep="10" Collapsemode="Both" />  
                <telerik:RadPane runat="server" ID="BottomPane" MinHeight="325" Height="325" Width="100%">  
                    <telerik:RadEditor runat="server" ID="radedit" Height="100%" Width="99%" EnableResize="false" AutoResizeHeight="true">  
                        <Content>  
                        </Content>  
                    </telerik:RadEditor>  
                </telerik:RadPane>  
            </telerik:RadSplitter>  

    Thanks in advance,
    Mike

    Reply

  • Tsvetie Tsvetie admin's avatar

    Posted on Mar 23, 2010 (permalink)

    Hi Mike Matlosz,
    In order to achieve the described result, you have to handle the resized client event of the splitter pane that wraps the editor control and in the handler, set the height of the editor to the height of that pane.

    For information on the client-side API of the splitter and editor, please refer to our online documentation:

    All the best,
    Tsvetie
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

    Reply

  • Posted on Dec 21, 2011 (permalink)

    all the links result in error pages

    Reply

  • Dobromir Dobromir admin's avatar

    Posted on Dec 21, 2011 (permalink)

    Hi Erik,

    Thank you for bringing this problem to our attention.

    Here are the correct links to the articles that Tsvetie has pointed in her post:
    http://www.telerik.com/help/aspnet-ajax/splitter-client-side-onclientresized.html
    http://www.telerik.com/help/aspnet-ajax/splitter-client-side-radpane.html
    http://www.telerik.com/help/aspnet-ajax/editor-setsize.html

    Regards,
    Dobromir
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Splitter > Resize RadEditor based on RadSplitter / RadPane size
Related resources for "Resize RadEditor based on RadSplitter / RadPane size"

ASP.NET Splitter Features   |  Documentation   |  Demos  |  Telerik TV   |  Self-Paced Trainer   |  Step-by-step Tutorial  ]