Sep 15, 2016, 7:07 AM
[OPEN] [#1383] [3.3.0] Checkbox value lag in DirectMethod
Hi
I have encountered an old defect that is should have been fixed in version 2, but now appears in version 3.3.
See old thread http://forums.ext.net/showthread.php...n-DirectMethod
Same example code as in the example:
Mikael
I have encountered an old defect that is should have been fixed in version 2, but now appears in version 3.3.
See old thread http://forums.ext.net/showthread.php...n-DirectMethod
Same example code as in the example:
<%@ Page Language="C#" %>
<%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext" %>
<!DOCTYPE html>
<script runat="server">
[DirectMethod]
public void showValue()
{
X.Msg.Alert("Status", String.Format("Value change event checkbox = {0}",chbDelete.Checked)).Show();
}
</script>
<html>
<head id="Head1" runat="server">
<title>Checkbox</title>
</head>
<body>
<form id="Form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:FormPanel ID="fpQuery" runat="server">
<Items>
<ext:Checkbox runat="server" ID="chbDelete" FieldLabel="Click here !">
<Listeners>
<Change Handler="App.direct.showValue();" Delay="1"/>
</Listeners>
</ext:Checkbox>
</Items>
</ext:FormPanel>
</form>
</body>
</html>
Best regardsMikael
Last edited by fabricio.murta; Sep 19, 2016 at 8:37 PM.