Problem with setting size using RadSplitterr

2 posts, 1 answers
  1. Bhuvan
    Bhuvan avatar
    50 posts
    Member since:
    Dec 2010

    Posted 28 Dec 2010 Link to this post

    Hi Team,

    Actuaaly I used a code
      <telerik:RadSplitter ID="RadSplitter2" runat="server" Height="22px" 
                                            Orientation="Horizontal" Width="405px">
    <telerik:RadPane ID="RadPane2" runat="server" Height="22px" Scrolling="none" 
                                                <telerik:RadSlidingZone ID="RadSlidingZone2" runat="server" Height="22px" 
                                                    <telerik:RadSlidingPane ID="RadSlidingPane3" runat="server" 
                                                        BackColor="ButtonFace" Title="Reply">                                                                
                                                                <asp:Panel ID="Reply_Panel" runat="server">
                                                                    <telerik:RadTextBox ID="RadTextBox1" runat="server" Height="80" Width="390" 
                                                                        Skin="Forest" TextMode="MultiLine">                                                                </telerik:RadTextBox><br />                                                                                                                      
                                                                    <asp:Button ID="btn_submit1" runat="server" Text="submit" />

    what i want is i want o increase the splitter and Radpane size when the sliding pan is docked and decrease the size when it is undocked is it possible?
     If yes how? 
  2. Answer
    Tsvetie avatar
    1517 posts

    Posted 28 Dec 2010 Link to this post

    Hi Bhuvan,
    The result you describe is by design. However, your splitter definition is not correct in case you intend to use the dock functionality of the sliding pane. In short, when the sliding pane docks, it re-sizes its parent pane to its size, so that the whole docked sliding pane is visible. However, in this case, the parent pane cannot be re-sized, because it is the only pane in the splitter, and as a result, the sliding pane cannot be docked. That is why, all you need to do, in order to get the result you describe, is add a second pane to the splitter.

    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. DevCraft R3 2016 release webinar banner
Back to Top