RadioButtonList in RadWindow

3 posts, 0 answers
  1. Debashis Pyne
    Debashis Pyne avatar
    66 posts
    Member since:
    Apr 2010

    Posted 14 Jul 2010 Link to this post

    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. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 16 Jul 2010 Link to this post

    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
  3. Debashis Pyne
    Debashis Pyne avatar
    66 posts
    Member since:
    Apr 2010

    Posted 16 Jul 2010 Link to this post

    Hi,

    Thanks for looking into this.
    Please consider as resolved.

    Thanks
Back to Top