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

[Solved] How do I get the RadioButton on the client side?

1 Answer 150 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Vinix
Top achievements
Rank 1
Vinix asked on 09 Jun 2008, 07:35 AM
I have a RadioButton in the RadGrid, like following code.

Please tell me how to access the RadioButton on the client side.

Many thanks for your helping.

<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource_Vocabulary" 
                GridLines="None" AllowMultiRowSelection="True"> 
                <MasterTableView AutoGenerateColumns="False" DataKeyNames="RecordNo" DataSourceID="SqlDataSource_Vocabulary"> 
                    <RowIndicatorColumn Visible="False"> 
                        <HeaderStyle Width="20px" /> 
                    </RowIndicatorColumn> 
                    <ExpandCollapseColumn Resizable="False" Visible="False"> 
                        <HeaderStyle Width="20px" /> 
                    </ExpandCollapseColumn> 
                    <Columns> 
                        <telerik:GridTemplateColumn HeaderText="edit" UniqueName="EditColumn" CurrentFilterFunction="NoFilter" 
                            FilterListOptions="VaryByDataType" ForceExtractValue="None" HeaderStyle-Width="10%"> 
                            <ItemTemplate> 
                                <asp:RadioButton ID="RadioButton1" runat="server" onClick="SelectOne(this)" /> 
                            </ItemTemplate> 
                        </telerik:GridTemplateColumn> 
                    </Columns> 
                    <EditFormSettings> 
                        <PopUpSettings ScrollBars="None" /> 
                    </EditFormSettings> 
                </MasterTableView> 
                <ClientSettings> 
                    <Selecting AllowRowSelect="True" /> 
                </ClientSettings> 
            </telerik:RadGrid> 

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 09 Jun 2008, 08:04 AM
Hi Liu Pei-Sen,

Check out the following code library submission.
Accessing server controls in a grid template on the client

Thanks
Princy.
Tags
Grid
Asked by
Vinix
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or