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

RadWindow - CodeLibrary search help needed

5 Answers 38 Views
Window
This is a migrated thread and some comments may be shown as answers.
A
Top achievements
Rank 1
A asked on 23 Feb 2015, 08:16 PM
Anyone,
In this thread for RadWindow, the last comment mentions about a sample code in the CodeLibrary - 
http://www.telerik.com/forums/how-to-style-radwindow-that-can-be-moved-and-resized-but-not-maximized

I tried searching around, but don't know how to find it, can someone help me with the link?

Waiting...

thanks!

5 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 24 Feb 2015, 09:54 AM

Hi,

The thread you linked is in the Silverlight forums (see the attached figure1.png) and does not relate to the UI for ASP.NET AJAX suite. As for the code library entry Roberto mentions - it was not  made public as it overrides built-in move/resize actions to custom ones and this is not recommended.

Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
A
Top achievements
Rank 1
answered on 24 Feb 2015, 02:44 PM
Ok thanks! I still have this issue, i do not want the user to be able to maximize the RadWindow. Even if i set the VisibleTitleBar property to false, but when i mouse hover to the top of the RadWindow, i am able to double click and maximize the RadWindow. Is there a custom css i can use to? I tried the below ones but none of these classes cover up for the maximize on double-click

1..rwTitleRow td { cursor:not-allowed !important;}
2..rwContentRow .rwBodyRight { cursor:not-allowed !important;}
3..rwContentRow .rwBodyLeft { cursor:not-allowed !important;}
4..rwFooterRow td { cursor:not-allowed !important;}
5..rwTopResize { cursor:not-allowed !important;}
6..rwTitleBar { cursor:not-allowed !important;}
0
Accepted
Marin Bratanov
Telerik team
answered on 24 Feb 2015, 02:55 PM

Hi,

The available user interactions with the RadWindow control are defined through the Behaviors property:

Here is an example that will disable maximizing:

<telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true" VisibleTitlebar="false" Behaviors="Close, Move, Resize"></telerik:RadWindow>

Note how the Behaviors value does not contain Maximize. With such a setup you do not even need to hide the titlebar.

Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
A
Top achievements
Rank 1
answered on 26 Feb 2015, 08:44 PM
Excellent! This is what i was looking for!
0
A
Top achievements
Rank 1
answered on 26 Feb 2015, 08:44 PM
Thanks!
Tags
Window
Asked by
A
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
A
Top achievements
Rank 1
Share this question
or