Hello,
I have a radgrid where I need an old fashioned radio button in a column to allow the user to select the item on that row. I already have a column of checkboxes to allow user to select multiple rows for another purpose, so I suspect I cannot use "row select" properties of the grid. The checkboxes determine which items are used in a report, while the radio button's purpose is to select a single item that is displayed in the report header.
I added a radbutton (Code below) to the grid, but when it runs, it allows me to check more than one radio button. How do I make it select only one?
Thanks!
I have a radgrid where I need an old fashioned radio button in a column to allow the user to select the item on that row. I already have a column of checkboxes to allow user to select multiple rows for another purpose, so I suspect I cannot use "row select" properties of the grid. The checkboxes determine which items are used in a report, while the radio button's purpose is to select a single item that is displayed in the report header.
I added a radbutton (Code below) to the grid, but when it runs, it allows me to check more than one radio button. How do I make it select only one?
Thanks!
<telerik:GridTemplateColumn UniqueName="DisplayInvoice" HeaderText="Select Display Invoice #"
HeaderStyle-Width="20%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
ItemStyle-Width="20%" >
<ItemTemplate>
<telerik:RadButton ID="rbInvoiceDisplay" GroupName="grpInvoiceDisplay" AutoPostBack="false"
ButtonType="ToggleButton" ToggleType="Radio" runat="server">
<ToggleStates>
<telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleRadioChecked" />
<telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleRadio" />
</ToggleStates>
</telerik:RadButton>
</ItemTemplate>
/telerik:GridTemplateColumn>