Working Nested RadWindow

1 posts, 0 answers
  1. Grendizer
    Grendizer avatar
    51 posts
    Member since:
    Sep 2008

    Posted 27 Mar 2009 Link to this post

    Requirements

    RadControls version

    2008 Q2

    .NET version

    any

    Visual Studio version

     

    programming language

    c#, js

    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    Many of you are already probably aware of the RadWindow limitation 

    " ... by default the parent of the new RadWindow object is the window that is executing the javascript. This limits the second window from moving outside the borders of the first RadWindow object, which is likely to be unduly constricting and unintuitive to the end user."

    The proposed Telerik solution is to declare all RadWindow within the page .. fine .. but that doesn't suits my needs :(

    Indeed in my project pages are splitted within several "user controls" made to be autonomous and reused. Then if a RadWindow1 contains another RadWindow2 ... the number would be declare in the RadWindow1 implementation .. so I would lead to size limitation.

    I have made  a CustomPopup.js implementation in order to automatically handle this behaviour and to avoid size limitation.

    Note that a RadWindowManager is required on the holding page in order to make this custom popup properly work 
    If not present it will not raise any exception but will just get back to original behaviour

    I have attached a sample web site .. you just have insert back the Telerik binaries in the bin folder.

    Enjoy :)

    Do not hesitate to send me feedback on this.
Back to Top