Sep 01, 2008, 5:11 PM
[CLOSED] AjaxEvents Question
Hello,
Quick question regarding the AjaxEvents.
Example.aspx:
Cheers,
Timothy
Quick question regarding the AjaxEvents.
Example.aspx:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void chkTest_Checked(object sender, AjaxEventArgs e)
{
phTest.Visible = chkTest.Checked;
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager runat="server" ScriptMode="Debug" />
<ExtJS:CheckBox ID="chkTest" runat="server">
<AjaxEvents>
<Check OnEvent="chkTest_Checked" />
</AjaxEvents>
</ExtJS:CheckBox>&nbsp;Test?
<asp:PlaceHolder ID="phTest" runat="server" Visible="False">
Yes Test!
</asp:PlaceHolder>
</form>
</body>
</html>
Is the above possible?Cheers,
Timothy