[CLOSED] Ext.Net 1.1 issue in Chrome Browser?

  1. #1

    [CLOSED] Ext.Net 1.1 issue in Chrome Browser?

    ext:window is not moving in Chrome browser.
    But it works fine in IE and Firefox.

    Can you check?
    Last edited by Daniil; Jul 11, 2011 at 10:04 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Can you reproduce the issue in the online sample?
    https://examples1.ext.net/#/Window/Basic/Hello_World/

    If no then provide test sample
    What version of Chrome do you use?
  3. #3
    Chrome version: 12.0.742.112
    I also attached my code that I tried.
    Thanks

    
    <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <%@ Register TagPrefix="a" Namespace="Ext.Net" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>Hello MVC</title>
        <link href="../../Content/Site.css" rel="stylesheet" type="text/css" /></head>
    <body>
        <ext:ResourceManager ID="ResourceManager2" runat="server" />
        <ext:Window 
                ID="Window1" 
                runat="server" 
                Title="Hello World!"  
                Icon="Application"
                Height="185px" 
                Width="350px"
                BodyStyle="background-color: #fff;" 
                Padding="5"
                Collapsible="true" 
                Modal="true">
                <Content>
                    This is my first <a target="_blank" href="http://www.ext.net/"> Ext.Net</a> Window.
                </Content>
            </ext:Window>
    
    </body>
    </html>
  4. #4
    Hi,

    I cannot reproduce it
    Are you able to reproduce it in the online sample?
  5. #5
    Sorry, it was my mistake
    I reproduced it locally, investigating...
  6. #6
    Hi,

    Fixed in SVN, please update and retest

    Here is the fix
    Ext.dd.DragDropMgr.getLocation = function(oDD) {
    	if (! this.isTypeOfDD(oDD)) {
    		return null;
    	}
    
    
    	var el = oDD.getEl(), pos, x1, x2, y1, y2, t, r, b, l;
    
    
    	try {
    		pos= Ext.lib.Dom.getXY(el);
    	} catch (e) { }
    
    
    	if (!pos) {
    		return null;
    	}
    
    
    	x1 = pos[0];
    	x2 = x1 + el.offsetWidth;
    	y1 = pos[1];
    	y2 = y1 + el.offsetHeight;
    
    
    	t = y1 - oDD.padding[0];
    	r = x2 + oDD.padding[1];
    	b = y2 + oDD.padding[2];
    	l = x1 - oDD.padding[3];
    
    
    	return new Ext.lib.Region( t, r, b, l );
    };

Similar Threads

  1. [CLOSED] Revision 3926 Layout Window CheckboxGroup (browser Chrome)
    By Aurelio in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 09, 2012, 2:04 PM
  2. Replies: 1
    Last Post: Dec 06, 2010, 4:29 PM
  3. [CLOSED] Browser progress bar issue
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 19, 2010, 10:09 AM
  4. [CLOSED] Browser compatibility issue with Layout
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 14, 2009, 9:24 AM
  5. [CLOSED] Browser compatibility issue with Layout
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jun 25, 2009, 11:43 AM

Posting Permissions