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
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,
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.
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
;}
Hi,
The available user interactions with the RadWindow control are defined through the Behaviors property:
- http://demos.telerik.com/aspnet-ajax/window/examples/behaviors/defaultcs.aspx.
- http://www.telerik.com/help/aspnet-ajax/window-behavior-user-interaction-with-window.html.
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,
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.