[OPEN] [#170] Direct2DBug and MessageBox Confirm

  1. #1

    [OPEN] [#170] Direct2DBug and MessageBox Confirm

    If I turn off Direct2DBug, messagebox confirm wraps funny. I turned off Direct2DBug for IE9 performance reasons, as recommended by a thread on ExtJS forum. Is there a way to fix this? I really do want the performance gains achieved with Direct2DBug.

    <html>
    <head id="Head1" runat="server">
    
    
    </head>
    <body>
        <script type="text/javascript">
            Ext.supports.Direct2DBug = false;        
            Ext.onReady(function () {
                Ext.MessageBox.confirm('TItle', 'Are you sure you want to log out?');
            });
        </script>
        <form id="Form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server" ScriptMode="Debug" Theme="Gray"
            DisableViewState="true" />
        </form>
    </body>
    </html>
    Last edited by Baidaly; Mar 13, 2013 at 11:45 PM. Reason: [OPEN] [#170]
  2. #2
    For now, I just turn it on before confirm and turn it back off after confirm

    
            Ext.supports.Direct2DBug = false;   
         
            Ext.onReady(function () {
                Ext.supports.Direct2DBug = true;
                Ext.MessageBox.confirm('TItle', 'Are you sure you want to log out?');
                Ext.supports.Direct2DBug = false;
            });
  3. #3
    Hello @jchau,

    Maybe, it is the Direct2DBug's destination to correct such issues. What do you think?

    Quote Originally Posted by jchau View Post
    as recommended by a thread on ExtJS forum.
    What is the link? I just need more information for a possible report to Sencha.
  4. #4
    Quote Originally Posted by Daniil View Post
    Hello @jchau,

    Maybe, it is the Direct2DBug's destination to correct such issues. What do you think?



    What is the link? I just need more information for a possible report to Sencha.
    Here's the thread: http://www.sencha.com/forum/showthre...n-grid-is-slow

    We do notice a siginificant improvement in layout speed with Direct2DBug = false
  5. #5
    Thank you.

    I reported to Sencha.
    http://www.sencha.com/forum/showthread.php?258594

    Lets wait what they will answer.
  6. #6
    Hello!

    Sencha opened bug ticket.

    We created an Issue to track.
    https://github.com/extnet/Ext.NET/issues/170

Similar Threads

  1. [CLOSED] V2.0 Confirm MessageBox with ButtonsConfig
    By Aurelio in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 06, 2012, 4:40 PM
  2. Replies: 2
    Last Post: Dec 10, 2011, 5:58 AM
  3. [CLOSED] Confirm messagebox from codebehind
    By CarWise in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 30, 2010, 1:20 PM
  4. Call method in the MessageBox.Confirm
    By flaviodamaia in forum 1.x Help
    Replies: 0
    Last Post: Mar 10, 2010, 10:35 AM
  5. [CLOSED] Confirm MessageBox
    By gokcemutlu in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 13, 2009, 12:47 PM

Posting Permissions