[OPEN] [#1821] Desktop window when data loads to content region

  1. #1

    [OPEN] [#1821] Desktop window when data loads to content region

    Hi,

    Open the Desktop control in example page.

    Once login to page we will see list of shortcuts then click on what's new shortcut and it will open window then close the window and again try to reopen the same (what's new) window we will get blank page(some issues)..Mainly issue with content region..Can you please look in to this. Image attached for your reference.
    
    <%@ Control Language="C#" %>
    
    <ext:DesktopModuleProxy runat="server">
        <Module ModuleID="whatsnew-win" AutoDataBind="true">
            <Shortcut Name="What's new" SortIndex="100" />
            <Window>
                <ext:Window runat="server"
                    Width="600"
                    Height="250"
                    AnimCollapse="false"
                    ConstrainHeader="true"
                    Border="false"
                    StyleHtmlContent="true">
    
                    <Content>
                        <ul>
                            <li>
                                Dynamic modules (attach/deattach modules from server side without page reloading)
                            </li>
                            <li>
                                Modules can be defined in the user control now
                            </li>
                            <li>
                                Shortcuts multi selection (including drag selection)
                            </li>
                            <li>
                                Shortcuts drag&amp;drop (multiple shortcuts dragging is supported)
                            </li>
                            <li>
                                Shortcut and desktop context menu
                            </li>
                            <li>
                                Quick lanch and tray
                            </li>                        
                        </ul>
                    </Content>
                </ext:Window>
            </Window>
        </Module>
    </ext:DesktopModuleProxy>
    Thank you,
    Vamsi.
    Attached Thumbnails Click image for larger version. 

Name:	Desktop.jpg 
Views:	9 
Size:	92.7 KB 
ID:	25331  
    Last edited by Vamsi; Jul 31, 2020 at 5:27 AM. Reason: Re-Posting
  2. #2
    Hi,

    Can you please look into below issue as I'm facing same issue when using Content
    section.

    Thank you,
    Vamsi.
  3. #3
    Thanks for the report. We will investigate.

    This thread has been moved to the Premium 5.x Help forums.
    Geoffrey McGill
    Founder & CEO
  4. #4
    Hello @Vamsi!

    It seems issue #1488 made this fix we already had for the desktop take place again.

    We have logged then issue #1820 to track and fix it again in Ext.NET.

    In the time being, to regain the fix from old Ext.NET versions, you can use this override:

    Ext.define("gh1821", {
        override: "Ext.ux.desktop.Desktop",
        createWindow: function () {
            var me = this,
                win = me.callParent(arguments);
    
            if (win.closeAction == "hide") {
                win.doClose = Ext.window.Window.prototype.doClose;
                win.on("close", function (win) {
                    this.onWindowClose(win);
                }, this);
            }
    
            return win;
        }
    })
    Once we implement this (or a similar) fix to Ext.NET code, we'll post another update to this thread.

    Also, ensure your window's CloseAction="Hide" or the fix won't be triggered and the window will be again destroyed on closed regardless of the CloseAction setting.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 8
    Last Post: Nov 15, 2017, 2:06 PM
  2. [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
  3. Replies: 2
    Last Post: Feb 17, 2012, 10:51 AM
  4. Open other aspx pages in desktop window
    By Vaishali in forum 1.x Help
    Replies: 1
    Last Post: Jan 19, 2012, 12:20 PM
  5. [CLOSED] Modal Window does not open with the correct z-index in desktop
    By Labyrinth in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Nov 08, 2011, 6:53 PM

Posting Permissions