[CLOSED] Examples Window - Open in front

  1. #1

    [CLOSED] Examples Window - Open in front

    When opening a window in
    http://mvc.ext.net/#/Window_Basic/Lo...ernal_Website/

    Is there a way of opening it in front of the whole page? Not being contained within the specific example tab?

    Thank you
    Last edited by Daniil; Sep 16, 2014 at 10:54 AM. Reason: [CLOSED]
  2. #2
    Hi @registrator,

    Examples open in iframes. The only way is to create a Window in a parent page. It might be done from a child (iframe) page.

    Here is an example.
    http://forums.ext.net/showthread.php...l=1#post165931
  3. #3
    Hi Daniil

    This works, thank you. But how can I open a specific window? With an ID? Like in the example that I am referring to.

    Cheers
  4. #4
    I don't quite understand the question. Please elaborate.
  5. #5
    Hi Daniil

    I have a window already defined in the page as (for example):

    @(X.Window()
            .ID("Window1")
            .Title("Ext.NET")
            .Width(1000)
            .Height(500)
            .Modal(true)
            .AutoRender(false)
            .Collapsible(true)
            .Maximizable(true)
            .Hidden(true)
            .Loader(X.ComponentLoader()
                .Url("http://www.ext.net")
                .Mode(LoadMode.Frame)
                .LoadMask(lm => lm.ShowMask = true)
            )
        )
    And I just want this particular window to be opened in parent.

    Can it be a property on this window like .RenderTo(parent) ?

    Hope you know what I mean...

    Thank you
  6. #6
    I think the answer is no way.

    What about to define that Window on the parent view?
  7. #7
    These windows are meant to be a part of the view where they are defined. Just want them to open over everything.
    I could define a "container" window on the parent and then load a content to it dynamically. A possible solution, isn't it?
  8. #8
    These windows are meant to be a part of the view where they are defined. Just want them to open over everything.
    Yes, I understand. Just that is a restriction of iframes. By the way, do you really need to use iframes? I would avoid if possible. Well, they are really good for some scenarios, but it is easy to overuse.

    I could define a "container" window on the parent and then load a content to it dynamically.
    Probably.

Similar Threads

  1. [OPEN] [#470] Examples: TaskManager->Basic->Overview mask issue
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 16, 2014, 3:56 PM
  2. Replies: 4
    Last Post: Feb 13, 2013, 6:06 AM
  3. [CLOSED] How to position a window into a desktop on window open
    By feanor91 in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 26, 2012, 1:59 PM
  4. Replies: 3
    Last Post: Sep 26, 2012, 11:32 PM
  5. BorderLayout open a window black window
    By Hualin Yuan in forum 1.x Help
    Replies: 0
    Last Post: May 07, 2010, 3:03 AM

Posting Permissions