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

Radwindow margins not adjustable

4 Answers 111 Views
Window
This is a migrated thread and some comments may be shown as answers.
bigrich legend
Top achievements
Rank 1
bigrich legend asked on 26 Nov 2009, 02:11 PM
I have a splitter and divided vertically and placed two radwindows between them to use as popups. The left is used as a master pane and the right as a details pane.
My problem!
The details pane does not allow positioning of the radwindow at left :0px Top: 0px SEE image
I am not getting the gap between both panes to be 2px no matter how hard I try!!.
Any help in solving this is most welcomed.

My code is below:

<telerik:RadSplitter
      ID="RadSplitter1"
      runat="server"
      CssClass="myaccountsplitter"
      Width="860px"
      Height="622px"
      PanesBorderSize="2"
      Skin="">
    <telerik:RadPane
        ID="masterpane"
        runat="server"
        BackColor="#749F57"
        Width="30%">
        <telerik:RadMenu
          ID="RadMenu1"
          runat="server"
          Flow="Vertical"
          Width="255px"
          Height=""
          Skin="Forest"
          BackColor="#749F57" >
        </telerik:RadMenu>
        <asp:Image
          ID="Image1"
          runat="server"
          ImageUrl="~/Images/3DObjects/3FOLD2.jpg" />
    </telerik:RadPane>
    <telerik:RadPane
          ID="detailspane"
          runat="server"
          CssClass="myaccountmargin"
          BackColor="#999966"
          Width="70%">

    </telerik:RadPane>
  </telerik:RadSplitter>
  <telerik:RadWindowManager
            ID="RadWindowManager1"
            runat="server"
            ShowContentDuringLoad="False"
            Skin="Forest"
            Left="0px"
            Top="0px"
            InitialBehaviors="Maximize"
            KeepInScreenBounds="True"
            RestrictionZoneID="ctl00_ContentPlaceHolder1_detailspane"
            Behaviors="None">
          <Windows>
             <telerik:RadWindow
                  ID="RadWindow1"
                  runat="server"
                  VisibleOnPageLoad="true"
                  NavigateUrl="http://www.css3.info">
             </telerik:RadWindow>
             <telerik:RadWindow
                  ID="RadWindow2"
                  runat="server"
                  VisibleOnPageLoad="true"
                  NavigateUrl="http://www.dhtmlgoodies.com">
             </telerik:RadWindow>
             <telerik:RadWindow                   
                  ID="RadWindow3"
                  runat="server"
                  VisibleOnPageLoad="true"
                  NavigateUrl="http://www.lightflowtech.com">
             </telerik:RadWindow>
          </Windows>
  </telerik:RadWindowManager> 

4 Answers, 1 is accepted

Sort by
0
bigrich legend
Top achievements
Rank 1
answered on 26 Nov 2009, 11:14 PM
Still desparately waiting for some help.
0
Accepted
Georgi Tunev
Telerik team
answered on 27 Nov 2009, 01:24 PM
Hello Bigrich,

I tested your code (I only replaced the value of the RestrictionZoneID property to point to the ID of the pane -
RestrictionZoneID="detailspane") and everything is working as expected on my side - see attached screenshot.

I guess that the problem could be due to some global styles that you use on your page, but without having a better view over your exact setup, I cannot say for sure. Please open a support ticket and send me a small sample project that reproduces the problem so I could investigate further.


Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
bigrich legend
Top achievements
Rank 1
answered on 27 Nov 2009, 03:08 PM
Thanks for the reply. I went back through my code and tracked down the "global" setting to be a positioning setting on my form tag used to centre the form on the screen. removing this get the app to diplay as needed but the form is no longer centered.
(SEE IMAGE). Is there a way to get the TELERIK controls to behave properly ie not be shunted to one side when simple thing like centering form are required?
0
bigrich legend
Top achievements
Rank 1
answered on 27 Nov 2009, 03:24 PM
I was able to centre the form by adjusting the margin on the body tag instead of the positioning setting on the form tag. Cheers all.
Tags
Window
Asked by
bigrich legend
Top achievements
Rank 1
Answers by
bigrich legend
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or