How to Show Modal Window with respect to Screen instead of it's parent Control

  1. #1

    How to Show Modal Window with respect to Screen instead of it's parent Control

    Hi,

    we have developing the application like Ext.net example site https://examples2.ext.net/ , to load the Pages as tab items (Cross option for close the tab) when clikc on any link, and in one page we have loaded on gridPanel and
    when i click on Grid row,i am Showing the details of selected row using One Usercontrol(.ascx) in Model window as following,


    <ext:Window runat="server" Width="550" Height="300" ID="WinFormBankedTime" AutoScroll="true"
    Title="Request Information" Resizable="false" Hidden="True" Modal="True">
    <Content>
    <uc2:WindowBank ID="ucBankedTimePending" runat="server" />
    </Content>
    </ext:Window>

    It displaying the Model window in only that parent Page ( with respect to Loaded tab).
    Click image for larger version. 

Name:	WindowAlignment.png 
Views:	17 
Size:	51.0 KB 
ID:	7062
    if the Window Height is more than the parent page,the parent page design becomes ugly i.e it's top become collapsed and hide the Title and option to close the tab(page).

    Click image for larger version. 

Name:	windowWithNoHeader.png 
Views:	15 
Size:	48.4 KB 
ID:	7063


    If the height of the window is reduced it's working fine.
    please provide the required suggestions to handle this issue and how to Show the window with respect to Screen instead of it's parent control.


    Thank you.
  2. #2
    Hello!

    Please, wrap you code in CODE tag. Read the paragraph 3 in this thread: http://forums.ext.net/showthread.php?10205

    I guess you use IFRAME mode, do you? So I think it's better to load Window into Parent page instead of child IFRAME.

Similar Threads

  1. [CLOSED] Modal Window assign parent
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Mar 26, 2013, 9:43 AM
  2. Replies: 3
    Last Post: Dec 05, 2012, 4:32 PM
  3. Show Modal window from a User Control
    By yourspraba in forum 1.x Help
    Replies: 1
    Last Post: Jun 29, 2010, 5:43 PM
  4. Anchor modal window to parent frame
    By stone216 in forum 1.x Help
    Replies: 3
    Last Post: Jan 27, 2010, 2:40 PM
  5. Passing values from modal Window to parent
    By Rodriquez in forum 1.x Help
    Replies: 0
    Last Post: Oct 07, 2009, 10:21 AM

Tags for this Thread

Posting Permissions