Radwindow in maximum height and auto width

2 posts, 0 answers
  1. Bader
    Bader avatar
    215 posts
    Member since:
    Aug 2008

    Posted 02 Oct 2010 Link to this post

    Hello,

    I have a problem in displying the radwindow control in the following manner:
    I need to display the radwindow in 100% height and auto width. in other words, By clicking an image, the radwindow control must be displayed in maximum height (With no scrolling) and the radwindow control width must be as the width of its content (Please display the attached image)

    Here is my code:

    telerik

     

     

    :RadWindowManager ID="RadWindowManager1" runat="server">

     

     

     

    <Windows>

     

     

     

    <telerik:RadWindow

     

     

     

    id="RadWindow1"

     

     

     

    runat="server"

     

     

     

    showcontentduringload="false"

     

     

     

    Height="100%"

     

     

     

    VisibleTitlebar="false"

     

     

     

    VisibleStatusbar="false"

     

     

     

    title="Telerik RadWindow"

     

     

     

    behaviors="Default">

     

     

     

    </telerik:RadWindow>

     

     

     

    </Windows>

     

     

     

    </telerik:RadWindowManager>

     

     

     

    <asp:Button ID="Button1" runat="server" Text="Button"

     

     

     

    onclick="Button1_Click" />

     


    protected

     

     

    void Button1_Click(object sender, EventArgs e)

     

    {

    RadWindow1.VisibleOnPageLoad =

     

    true;

     

    }

    Please, What I should do in order to achieve the requirements,
    It is appreciated to send me the modified code.

    Regards,
    Bader


  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 04 Oct 2010 Link to this post

    Hello Bader,

    Currently this mode is not supported by the control. It is scheduled to appear in Q3 2010. Currently you could use RadWindow's client-side API (setSize()) to set the desired dimensions of the control.

    Best wishes,
    Georgi Tunev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top