RadWindow center

2 posts, 0 answers
  1. Daniela
    Daniela avatar
    12 posts
    Member since:
    Aug 2010

    Posted 08 Nov 2010 Link to this post

    I would like to center the window. Can I do that may be in the code?
    Maybe there is a center method ... RadWindowPopup.CenterMethode()?

    <telerik:RadWindowManager ID="RadWindowManagerPopup" runat="server">
        <telerik:RadWindow ID="RadWindowPopup" VisibleOnPageLoad="true" EnableShadow="true" Behaviors="Close, Move" AutoSize="true" runat="server" >
            <div class="popup">
              <div class="popup_l">
               <div ID="PopupIcon" runat="server"></div>
              <div class="popup_r">
                <asp:Literal ID="UserMessage" runat="server"></asp:Literal>
              <div class="clear popup_button">
                <asp:Button ID="Button" runat="server" Text="OK" />

    Can you please give me a hint how I can do that.
    And often in using CSS with me that would like a method best.

    Regards Dani
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 09 Nov 2010 Link to this post


    Call the center() client side method of RadWindow client object to center the window.
    RadWindow Methods

    And, for relocating the RadWindow from code, set the Top and Left properties accordingly.

Back to Top