Problem with opening big window from a small window

5 posts, 1 answers
  1. Somnath
    Somnath avatar
    43 posts
    Member since:
    Jun 2012

    Posted 08 Apr 2011 Link to this post

    Hi,

    I have a window from which I am trying to open another window which is bigger in size than the parent window..with fixed height and width. Even when the modal property is set to true the new window doesnt get visible completely. Scroll bars gets added to the parent window.
    I would like to see the new window on top of the parent window instead of inside the parent window.
    Can you suggest any solutions??
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 11 Apr 2011 Link to this post

    Hello Ankit,

    Check out the following demo which implements the same scenario.
    Window / Returning Values from a Dialog.

    Take a look at the following code library as well.
    Opening a RadWindow from within RadWindow

    Thanks,
    Shinu.
  3. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4569 posts

    Posted 11 Apr 2011 Link to this post

    Hi Ankit,

    It is expected that the child element is limited in the parent's bounds. To override this behavior you should open new RadWindows from the browser window. The Modal property creates an overlay background that disables its parent, it does not let it leave these bounds.

    A shorter explanation is available in the documentation: http://www.telerik.com/help/aspnet-ajax/window-programming-opening-from-within-dialog.html.

    If the new window opens below the first one you might need to call its setActive() method after you open it.


    Greetings,
    Marin
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  4. Somnath
    Somnath avatar
    43 posts
    Member since:
    Jun 2012

    Posted 06 Sep 2011 Link to this post

    Hi,

    It is working perfectly .
    But after opening big window from small window using brwoser window manager refrence ,parent window is still clickable .
    How to prevent it.

    Please suggest for the above

  5. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    4569 posts

    Posted 08 Sep 2011 Link to this post

    Hello Ankit,

    You can make the second RadWindow modal - either by setting its server-side Modal property to true (if you are always opening the same one), or via its client-side API - the set_modal(true) method.


    Kind regards,
    Marin
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top