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

Radwindow in maximum height and auto width

1 Answer 286 Views
Window
This is a migrated thread and some comments may be shown as answers.
Bader
Top achievements
Rank 1
Bader asked on 02 Oct 2010, 11:31 PM
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


1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 04 Oct 2010, 07:32 AM
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
Tags
Window
Asked by
Bader
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or