This is a migrated thread and some comments may be shown as answers.

Spliiter problems in Rad Window

2 Answers 86 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Arie Segev
Top achievements
Rank 1
Arie Segev asked on 24 Jul 2007, 02:01 AM
I have a simple splitter with  two vertical panes, each of which is diveded by a plitter into two horizonal panes. I have height and width set to 100% on the outermost splitter. The two vertical pnaes specify 30% and 70% width.  All was working fine until I decided to move it to a Rad Window.  In firefox 1.5.0.6  the left pane does not show at all, the right pane extends to 100% of the Rad Window size. I have played with various scenarios and the only one that will show both panes in their relative widths is if I replace % in the outer splitter by a specific pixel width which of course is not good enough since the splitter will not resize with the RadWindow.

In IE7 the two panes show but formatting is totally  off - upper panes have height totally different than specified, dividing lines disappeared, the skin does not seem to take effect at all.
code is below
Any ideas?
Thanks, Arie

<telerik:RadSplitter id="cmgrSplitter1" runat="server" height="100%" width="100%" skin="ThickBrick">
<telerik:RadPane id="cmgrCollectionPane1" runat="server" Scrolling="None" Width="30%">
 <telerik:RadSplitter id="cmgrSplitter2" runat="server" height="750"  Orientation="Horizontal"  skin="ThickBrick">
   <telerik:RadPane id="cmgrTitilePane1" runat="server" height="75" scrolling="none">
  Some Text  
 </telerik:RadPane>
 <telerik:RadSplitBar id="cmgrSplitbar3" runat="server"> </telerik:RadSplitBar>
  <telerik:RadPane id="cmgrImageDisplayPane1" runat="server"  >
   <div style ="padding:5px">
   <radM:RadMenu id="RadMenu3" runat="server" Skin="CssBrick">
                  <items>   some standard menu items  </Items>
             </radM:RadMenu>       
   </div>
  </telerik:RadPane> 
   </telerik:RadSplitter>               
 </telerik:RadPane>    
 <telerik:RadPane ID="cmgrImagePreviewPane1" runat="server" Scrolling="None">
    <telerik:RadSplitter id="cmgrPreviwSplitter1" runat="server" height="750"  Orientation="Horizontal"  skin="ThickBrick">
   <telerik:RadPane id="cmgrPreviewTitle1" runat="server" height="75" scrolling="none">        
           Some text   
        </telerik:RadPane>
  <telerik:RadSplitBar id="cmgrPreviewSplitBar1" runat="server"> </telerik:RadSplitBar>
  <telerik:RadPane id="cmgrDisplayPane" runat="server" scrolling="y">
         <div style ="padding:5px">
       <radM:RadMenu id="RadMenu2" runat="server" Skin="CssBrick">
                <Items>  some standard items </Items>
                  </radM:RadMenu>
       </div> <!-- content end -->
         </telerik:RadPane> 
  </telerik:RadSplitter>               
 </telerik:RadPane>
</telerik:RadSplitter>


2 Answers, 1 is accepted

Sort by
0
Petio Petkov
Telerik team
answered on 24 Jul 2007, 03:45 PM
Hi Arie,

When you have a RadSplitter in a RadWindow, you should set the ShowContentDuringLoad property of the RadWindow to "true" so that the splitter can correctly calculate its size in the initial loading process. Please try it and let us know if it helps.




Best wishes,
Petio Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Arie Segev
Top achievements
Rank 1
answered on 24 Jul 2007, 04:08 PM
Thank you Petio! solved all the problems I mentioned.
Arie
Tags
Splitter
Asked by
Arie Segev
Top achievements
Rank 1
Answers by
Petio Petkov
Telerik team
Arie Segev
Top achievements
Rank 1
Share this question
or