Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
7428 Points
1507 Posts
ASPInsiders
Aug 08, 2006 11:03 PM|LINK
<%@ Page Language="C#" %> <!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 Page_Load(object sender, EventArgs e) { if (Page.IsPostBack) { lblToUpdate.Text = DateTime.Now.ToString(); } } </script> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <atlas:ScriptManager id="scriptManager" runat="server" EnablePartialRendering="true"></atlas:ScriptManager> <div> <atlas:UpdatePanel ID="UpdatePanel1" runat="server"> <Triggers> <atlas:ControlEventTrigger ControlID="RadioButtonList1" EventName="SelectedIndexChanged" /> </Triggers> <ContentTemplate> <asp:Label ID="lblToUpdate" runat="server"></asp:Label> </ContentTemplate> </atlas:UpdatePanel> <asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="true"> <asp:ListItem>Item1</asp:ListItem> <asp:ListItem>Item2</asp:ListItem> <asp:ListItem>Item3</asp:ListItem> </asp:RadioButtonList> </div> </form> </body> </html>
Garbin
Contributor
7428 Points
1507 Posts
ASPInsiders
Re: Unofficial bug/issue list for the Atlas June CTP
Aug 08, 2006 11:03 PM|LINK
repro for issue #25:
<%@ Page Language="C#" %> <!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 Page_Load(object sender, EventArgs e) { if (Page.IsPostBack) { lblToUpdate.Text = DateTime.Now.ToString(); } } </script> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <atlas:ScriptManager id="scriptManager" runat="server" EnablePartialRendering="true"></atlas:ScriptManager> <div> <atlas:UpdatePanel ID="UpdatePanel1" runat="server"> <Triggers> <atlas:ControlEventTrigger ControlID="RadioButtonList1" EventName="SelectedIndexChanged" /> </Triggers> <ContentTemplate> <asp:Label ID="lblToUpdate" runat="server"></asp:Label> </ContentTemplate> </atlas:UpdatePanel> <asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="true"> <asp:ListItem>Item1</asp:ListItem> <asp:ListItem>Item2</asp:ListItem> <asp:ListItem>Item3</asp:ListItem> </asp:RadioButtonList> </div> </form> </body> </html>