Oct 18, 2010, 8:32 PM
[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
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):
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]