Update of /cvsroot/magicajax/MagicAjax NET 1.1/Examples
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11723/MagicAjax NET 1.1/Examples
Modified Files:
Examples.aspx
Log Message:
Added a 'Regular Postback' button to the example page, to show that ViewState is kept on MagicAjax controls. Really amazing!
Index: Examples.aspx
===================================================================
RCS file: /cvsroot/magicajax/MagicAjax NET 1.1/Examples/Examples.aspx,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Examples.aspx 9 Nov 2005 21:06:05 -0000 1.3
--- Examples.aspx 10 Nov 2005 22:48:36 -0000 1.4
***************
*** 9,20 ****
</head>
<body>
! <h4>MagicAjax demo's</h4>
<form id="form1" runat="server">
<hr />
<h5>1. Simple button showing server time</h5>
<cc1:ajaxpanel ID="Ajaxpanel1" runat="server">
! <asp:Button runat="server" ID="ShowTime" Text="Show Server Date and Time" OnClick="ShowTime_Click" />
! <asp:Label runat="server" ID="lblShowTime" />
</cc1:ajaxpanel>
--- 9,22 ----
</head>
<body>
! <h4>MagicAjax demo's (.NET version <%= System.Environment.Version %>)</h4>
<form id="form1" runat="server">
+ <span style="float:right"><asp:Button runat="server" Text="Regular PostBack" /></span>
+
<hr />
<h5>1. Simple button showing server time</h5>
<cc1:ajaxpanel ID="Ajaxpanel1" runat="server">
! <asp:Button runat="server" ID="ShowTime" Text="Show server's date & time" OnClick="ShowTime_Click" />
! <asp:Label runat="server" ID="lblShowTime" BackColor="Blue" ForeColor="White" />
</cc1:ajaxpanel>
***************
*** 86,89 ****
--- 88,92 ----
model.Items.Add(new ListItem("- Select car model -", ""));
model.Visible = true;
+ select.Enabled = false;
switch (brand.SelectedValue)
|