rendered paste body<%@ Page Title="Home Page" Language="C#" AutoEventWireup="true" EnableEventValidation="false"
CodeBehind="Default.aspx.cs" Inherits="WebApplication40._Default" %>
<html>
<title></title>
<head>
</head>
<body>
<script runat="server">
protected override void OnLoad(EventArgs e)
{
var value = myRadioList.SelectedValue;
this.myPanel.Controls.Add(new LiteralControl(value));
}
</script>
<form runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel runat="server">
<ContentTemplate>
<asp:Panel runat="server" ID="myPanel">
</asp:Panel>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="myRadioList" />
</Triggers>
</asp:UpdatePanel>
<asp:RadioButtonList AutoPostBack="True" ID="myRadioList" runat="server">
<asp:ListItem>Daily</asp:ListItem>
<asp:ListItem>Weekly</asp:ListItem>
</asp:RadioButtonList>
</form>
</body>
</html>