RadWindow Title Alignment

3 posts, 0 answers
  1. nyi nyi
    nyi nyi avatar
    17 posts
    Member since:
    Apr 2010

    Posted 17 Nov 2010 Link to this post

    Hi,

    I am using the latest version of Telerik Controls for Asp .net.
    I'd like to know how to get the title of RadWindow aligned left.
    Currently the title is shown at the center of the title bar.
    Here is my code.

    <telerik:RadWindowManager ID="SupIntdRadWindowManager" runat="server" EnableShadow="true" DestroyOnClose="true" Behaviors="Close,Move,Resize,Pin"
            AutoSize="true" VisibleStatusbar="false" Overlay="true" ShowContentDuringLoad="false" ReloadOnShow="true"  
            Modal="true" />

     var radWin = window.radopen("Something/foo.aspx");
                        radWin.SetTitle("Foo");
                        return false;


    Thanks in advanced.

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

    Posted 18 Nov 2010 Link to this post

    Hello,


    I am not sure about the issue that you are facing. I got the Title aligned to "left" when tried with latest version of RadControls (2010, 3, 1109, 35).

    Could you check whether you have any css set which conflicts with radwindow title and causing the issue.
    RadWindow CSS Classes and Their Use


    -Shinu.
  3. Sam Vanhoutte
    Sam Vanhoutte avatar
    7 posts
    Member since:
    Aug 2011

    Posted 08 Jan 2012 Link to this post

    Hello Nyi,
    I just encountered the same problem as you.

    Add this to your style and it your title will be left aligned.

    .rwTitlebarControls em
    {
        text-align:left !important;
    }


    Regards
Back to Top