[CLOSED] TreePanel Debug mode problem

  1. #1

    [CLOSED] TreePanel Debug mode problem

    Hi,
    I've got the following problem with the TreePanel control,
    The development context is:
    1) in a User Control I included a TreePanel.
    2) This TreePanel is also included in a User Control, an edit form of an entity.
    3) and the editing control is included in a search aspx window (windowDesktop).
    The problem is that the Edition user control contains 3 of these TreePanels user control, and when I change in web.config the configuration
    <compilation debug="false" targetFramework="4.0"/>
    (from true to false), the three trees draw the same data, with the data from the last tree.
    If I change the debug property to true, everything works fine.
    I don't know if this helps, but debugging jscript in the html source code of the rendered html I find the following differences:
    In mode debug = "true" (when it works well):
    ucGroupsEdit_ucTasks: {
        LoadData: function (config) {
            Ext.net.DirectMethod.request("LoadData"
            Ext.applyIf(config | | {}, {
                control: "ucGroupsEdit_ucTasks "
            }));
        }
    },
    ucGroupsEdit_ucLocations: {
        LoadData: function (config) {
            Ext.net.DirectMethod.request("LoadData"
            Ext.applyIf(config | | {}, {
                control: "ucGroupsEdit_ucLocations "
            }));
        }
    },
    ucGroupsEdit_ucProductLines: {
        LoadData: function (config) {
            Ext.net.DirectMethod.request("LoadData"
            Ext.applyIf(config | | {}, {
                control: "ucGroupsEdit_ucProductLines "
            }));
        }
    }
    });
    but in mode debug = "false" (when wrong):
    ucGroupsEdit_ucTasks: {
        LoadData: function (config) {
            Ext.net.DirectMethod.request("LoadData"
            Ext.applyIf(config | | {}, {
                control: "ucGroupsEdit_ucProductLines "
            }));
        }
    },
    ucGroupsEdit_ucLocations: {
        LoadData: function (config) {
            Ext.net.DirectMethod.request("LoadData"
            Ext.applyIf(config | | {}, {
                control: "ucGroupsEdit_ucProductLines "
            }));
        }
    },
    ucGroupsEdit_ucProductLines: {
        LoadData: function (config) {
            Ext.net.DirectMethod.request("LoadData"
            Ext.applyIf(config | | {}, {
                control: "ucGroupsEdit_ucProductLines "
            }));
        }
    }
    });
    Last edited by geoffrey.mcgill; Oct 21, 2010 at 5:28 PM. Reason: [CLOSED]
  2. #2
    Hi,

    We need full test sample which reproduces the problem
    If debug mode is activated then we avoid any caching to find direct method. If release mode then we cache found direct methods (to avoid reflection overhead).

    I am not sure that it is cache problem because if cache issue then should be exception that method is not found. In any case we need test sample which can be run locally

    Under what browser it happens? Do you use IE with Chrome Frame extension?
  3. #3
    ok, I will set an example.

    I'm using IE 8 and Chrome and it happens in both.

    NOTE: No new information provided, assuming [CLOSED]
    Last edited by geoffrey.mcgill; Oct 21, 2010 at 5:28 PM.

Similar Threads

  1. [CLOSED] Drag and drop from treepanel to treepanel in "copy" mode
    By mattwoberts in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 14, 2011, 6:45 PM
  2. TreePanel remote mode AppendChild
    By Wellington Caetano in forum 1.x Help
    Replies: 0
    Last Post: Jun 16, 2011, 8:15 PM
  3. Replies: 2
    Last Post: Oct 05, 2010, 10:29 AM
  4. [CLOSED] Lazy Mode | Dropdown Field | Treepanel Instance
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 18, 2010, 3:52 PM
  5. [CLOSED] intellisense and debug mode.
    By pkellner in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Sep 29, 2008, 4:34 PM

Posting Permissions