RadWindow - CodeLibrary search help needed

6 posts, 1 answers
  1. A
    A avatar
    19 posts
    Member since:
    Jan 2015

    Posted 23 Feb 2015 Link to this post

    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!
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 24 Feb 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. A
    A avatar
    19 posts
    Member since:
    Jan 2015

    Posted 24 Feb 2015 in reply to Marin Bratanov Link to this post

    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;}
  5. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 24 Feb 2015 Link to this post

    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.

     
  6. A
    A avatar
    19 posts
    Member since:
    Jan 2015

    Posted 26 Feb 2015 in reply to Marin Bratanov Link to this post

    Excellent! This is what i was looking for!
  7. A
    A avatar
    19 posts
    Member since:
    Jan 2015

    Posted 26 Feb 2015 in reply to A Link to this post

    Thanks!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017