single pane resize

4 posts, 0 answers
  1. Justin
    Justin avatar
    5 posts
    Member since:
    Aug 2010

    Posted 09 Aug 2010 Link to this post

    hello, 

    Is is possible to have just 1 pane inside of the splitter and have that resize? pretty much just a box that has the ability to resize the height.

    <telerik:RadSplitter Orientation="Horizontal" ResizeMode="AdjacentPane" Width="100%" ID="rsSplitter" runat="server">
        <telerik:RadPane ID="spltPane" Scrolling="Y" runat="server">
            <div>sdasdsadasd</div>
        </telerik:RadPane>
        <telerik:RadSplitBar AdjacentPanesNames-TopPaneName="spltPane" ID="splitter1"  runat="server" />
       
    </telerik:RadSplitter>
     
    this shows the content that i want and the resize bar but the bar does not allow you to resize without a second pane. Are there any work arounds for this so that we can use just a single pane?
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 12 Aug 2010 Link to this post

    Hello Justin,

     The RadSplitter control is designed to be a layout control and it can't be used as you describe. Furthermore, when you drag teh splitbar, you resize one pane by resizing the adjacent one. However, I assume that if you put two RadPanes in a splitter which is 100% of the page this will be your scenario and you can resize the pane as you desire. In case splitter with two panes does not work for you, please provide more details about the exact problem of this particular layout and some screenshots and we will see what can be done.

    Greetings,
    Svetlina
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Justin
    Justin avatar
    5 posts
    Member since:
    Aug 2010

    Posted 12 Aug 2010 Link to this post

    yes i figured you need to have 2 panes but to make some kind of workout where the 2nd pane never really gets to show up. My scenerio is pretty simple:

    I want to have a rad grid inside of a container that is resizeable and have the grid resize with it. Looking at the examples it seems the splitter and grid work well together when resizing.
  5. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 17 Aug 2010 Link to this post

    Hi Justin,

     What I can suggest is the following:

    1) Put a RadSplitter with two RadPanes on the page. Put thje grid in one of the panes.

    2) Put all the other content except for the grid in the second pane. This configuration with a splitter which is 100% should do what you need because when all the other content is in the second pane and the splitter is 100% of the page, the second pane will actually simulate the other part of the page which is apart from the resizable panel

    A sample demo which is similar to what you need is available below:

    http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandsplitterresizing/defaultcs.aspx?product=splitter

    Please, configure the splitter in it to 100% to see what I mean and let us know whether this meets your requirements.

    Kind regards,
    Svetlina
    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
Back to Top