This is a migrated thread and some comments may be shown as answers.

RadioButtonList in RadWindow

2 Answers 53 Views
Window
This is a migrated thread and some comments may be shown as answers.
Debashis Pyne
Top achievements
Rank 1
Debashis Pyne asked on 14 Jul 2010, 11:41 AM
Hi,

I have a Radwindow which contains a radiobuttronlist controls having 2 listitems.
I wanted that on index change of the radio buttons, a text in a label would be displayed.
However the server side code doesn't fire.

Is it because it is a Radwindow?
Below is the code that I am using.

[ASPX CODE]

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12%">&nbsp;</td>
<td width="70%" class="body_header2">
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
<asp:RadioButtonList ID="RadBtnConf" runat="server" AutoPostBack="true"
onselectedindexchanged="RadBtnConf_SelectedIndexChanged">
<asp:ListItem Value="0" Text="Conformance"></asp:ListItem>
<asp:ListItem Value="1" Text="Non Conformance"></asp:ListItem>
</asp:RadioButtonList>
</td>                                               
</tr>
</table>

[C# CODE]

protected

 

void RadBtnConf_SelectedIndexChanged(object sender, EventArgs e)

 

{

Label1.Text =

"You selected " + RadBtnConf.SelectedItem.Text;

 

}


Please suggest.
Thanks

2 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 16 Jul 2010, 11:18 AM
Hello Debashis,

I tried to reproduce the problem but to no avail. Could you please check the attached test and let me know if I am missing something?


Regards,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Debashis Pyne
Top achievements
Rank 1
answered on 16 Jul 2010, 12:53 PM
Hi,

Thanks for looking into this.
Please consider as resolved.

Thanks
Tags
Window
Asked by
Debashis Pyne
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Debashis Pyne
Top achievements
Rank 1
Share this question
or