Hello, I created radbuttons (CheckBox) dynamically, but I need to get the value of each. Design I have appointed the button with the name "chkParameterType".
My code generates eight buttons and want to know which one has been selected.
Please Help Me
<asp:Panel ID="ListViewPanel1" runat="server">
<telerik:RadListView ID="RadListView1" DataSourceID="SqlDataSource1" runat="server"
ItemPlaceholderID="CandidatosContainer" DataKeyNames="NOMBRE" AllowPaging="true"
AllowMultiItemSelection="false" >
<LayoutTemplate>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="RadListView1"
PageSize="20" CssClass="pagerStyle" Visible="false">
<Fields>
<telerik:RadDataPagerButtonField FieldType="FirstPrev"></telerik:RadDataPagerButtonField>
<telerik:RadDataPagerButtonField FieldType="Numeric" PageButtonCount="6"></telerik:RadDataPagerButtonField>
<telerik:RadDataPagerButtonField FieldType="NextLast"></telerik:RadDataPagerButtonField>
<telerik:RadDataPagerPageSizeField PageSizeComboWidth="60" PageSizeText="Page size: "></telerik:RadDataPagerPageSizeField>
<telerik:RadDataPagerGoToPageField CurrentPageText="Page: " TotalPageText="of" SubmitButtonText="Go"
TextBoxWidth="25"></telerik:RadDataPagerGoToPageField>
</Fields>
</telerik:RadDataPager>
</td>
</tr>
</table>
<div class="RadListView RadListView_<%# Container.Skin %>">
<asp:PlaceHolder ID="CandidatosContainer" runat="server"></asp:PlaceHolder>
</div>
<div class="clearFix">
</div>
</LayoutTemplate>
<ItemTemplate>
<fieldset class="fieldset">
<legend>
Candidato: <%# Eval("COD_POSTULACION") %>
</legend>
<table class="dataTable">
<tr class="rlvI">
<td>
<table class="itemTable">
<tr>
<td>
<table class="innerItemTable">
<tr>
<td class="itemCellLabel">
Nombre:
</td>
<td class="itemCellInfo">
<%#Eval("NOMBRE")%>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td class="image">
<telerik:RadBinaryImage ID="RadBinaryImage1" runat="server" AlternateText="FOTO"
ToolTip="Contact Photo" Width="90px" Height="110px" ResizeMode="Fit" DataValue='<%# Eval("FOTO") == DBNull.Value? new System.Byte[0]: Eval("FOTO") %>'></telerik:RadBinaryImage>
</td>
</tr>
<tr>
<telerik:RadButton ToggleType="CheckBox"
ButtonType="StandardButton"
runat="server"
ID="chkParameterType"
AutoPostBack="False">
<ToggleStates>
<telerik:RadButtonToggleState Text="Seleccionado" PrimaryIconCssClass="rbToggleCheckboxChecked"/>
<telerik:RadButtonToggleState Text="Sin Seleccionar" PrimaryIconCssClass="rbToggleCheckbox" />
</ToggleStates>
</telerik:RadButton>
</tr>
</table>
</fieldset>
</ItemTemplate>
<EmptyDataTemplate>
<fieldset class="noRecordsFieldset">
<legend>Customers</legend>No records for customers available.
</fieldset>
</EmptyDataTemplate>
</telerik:RadListView>
</asp:Panel>​