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:
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