prevent user from moving the radwindow

4 posts, 0 answers
  1. mirang
    mirang avatar
    115 posts
    Member since:
    Aug 2010

    Posted 14 Oct 2011 Link to this post

    Is it possible to prevent the user from moving the radwindow itself. This is because I want the screen to be maximixed, the user cannot do any actions like moving or resizing. The only option he can do is closing the radwindow.
  2. Dani
    Admin
    Dani avatar
    848 posts

    Posted 14 Oct 2011 Link to this post

    Hi Mirang,

    RadWindow has a property which you can use to easily accomplish this requirement - CanMove property. This and other useful properties you can check in theRadWindow Configurator online example.

    I hope this helps.


    Regards,
    Dani
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
  4. mirang
    mirang avatar
    115 posts
    Member since:
    Aug 2010

    Posted 14 Oct 2011 Link to this post

    I tried setting this property. The problem is when i click on the maximise button, the radwindow fits to the browser window. Now when i try to move the window by selecting the header, it moves. 
  5. Dani
    Admin
    Dani avatar
    848 posts

    Posted 17 Oct 2011 Link to this post

    Hello Mirang,

    The behavior you described is a known issue. There is a very simple workaround to it: just set the CaptionHeight to 0. This will prevent the header of RadWindow from dragging and from changing states when being dragged.

    I hope this helps.

    Greetings,
    Dani
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top