Try this code...
this the aspx code
<asp:radiobuttonlist id="rbtn_option" runat="server" xmlns:asp="#unknown">
RepeatDirection="Horizontal">
<asp:listitem>item1</asp:listitem>
<asp:listitem>item2</asp:listitem>
<asp:listitem>item3</asp:listitem>
<asp:listitem>item4</asp:listitem>
</asp:radiobuttonlist>
<asp:textbox id="txt_val" runat="server" xmlns:asp="#unknown"></asp:textbox>
<asp:button id="btn_submit" runat="server" onclick="btn_submit_Click" xmlns:asp="#unknown">
Text="Submit" />
</asp:button>
this the behind code
protected void btn_submit_Click(object sender, EventArgs e)
{
if (rbtn_option.SelectedIndex < 0)
return;
txt_val.Text = rbtn_option.SelectedValue;
}
I hope it will help you.,
thank you and God bless..