Feb 22, 2013, 9:34 PM
[CLOSED] Increase timeout in RowExpander - Listeners - BeforeExpand
Hi Team, I want to increase the timeout with my event BeforeExpand, It some part of my code is this:
My Resourcemanager
In the GridPanel
And, in a file JavaScript
And in my file *.cs
But, I get a error "communication failure", because my sentence sql is in 40 seconds, I want to increase the time out in listener- beforeexpand, thank you.
My Resourcemanager
<ext:ResourceManager ID="rmCxC" runat="server" DirectMethodNamespace="mLevels" HideInDesign="true"/>
--------------------------------------------------------------------In the GridPanel
<Listeners>
<BeforeExpand Fn="CargarNivel2" />
</Listeners>
-----------------------------------------------------------------------And, in a file JavaScript
var CargarNivel2 = function (expander, record, body, row, rowIndex) {
// Validar si ya se a construido el segundo nivel
if (body.rendered) {
return;
}
mLevels.SegundoNivel({
timeout: 1000000,
eventMask: {
showMask: true,
target: "customtarget",
customTarget: expander.getCmp().body
},
success: function () {
body.rendered = true;
}
});
};
----------------------------------------------------------And in my file *.cs
[DirectMethod]
public void SegundoNivel()
{
//CODE
}
----------------------------------------------------------------But, I get a error "communication failure", because my sentence sql is in 40 seconds, I want to increase the time out in listener- beforeexpand, thank you.
Last edited by Baidaly; Feb 23, 2013 at 4:34 AM.
Reason: [CLOSED]