Resizeable Window with fixed bottom area

2 posts, 1 answers
  1. Jani
    Jani avatar
    61 posts
    Member since:
    Jan 2008

    Posted 04 Nov 2011 Link to this post

    Hi

    I'm using the RadWindow to handle a resizeable dialog. The dialog should contain two areas/rows:
    - edits on the top - resizeable with the window
    - validation & buttons on the bottom - area is always visible (the validation summary is only visible, if an validation error was found)

    Is there any solution to reduce the scrollbars only to the editing area and not to the entire window content?

    Cheers,
    Jani
  2. Answer
    Kevin
    Kevin avatar
    360 posts
    Member since:
    Jul 2012

    Posted 04 Nov 2011 Link to this post

    Hello Jani,

    You would have to add your own custom code to resize the height of your edit area when the window resizes. How do you display the dialog window, are you using the RadWindow's ContentTemplate or NavigateUrl property? Depending on how you display the dialog, you will need to handle different events to resize your edit area.

    If you use the ContentTemplate, you will need to handle the OnClientResizeEnd event of the RadWindow. For the NavigateUrl, you need to handle the resize event of the window object in your aspx page.

    I hope that helps.
Back to Top