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

How to Use Findcontrol in Telerik radgrid

3 Answers 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jaya
Top achievements
Rank 1
Jaya asked on 21 Feb 2015, 08:24 AM
Hi

I have added dynamically at runtime "GridTemplateColumn" from code behind that column type checkbox how will do this

then when i click button control i need find control for checkbox 

3 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 23 Feb 2015, 11:27 AM
Hello Jaya,

My apologies for the delay.

Could you please provide your code snippet?

Thanks,
Jayesh Goyani
0
Jaya
Top achievements
Rank 1
answered on 24 Feb 2015, 04:09 AM
Hi
Jayesh Goyani

This is my Table Data
=========================
ID       Days        Order No
======================
1        SUN                    1
2        MON                   2
3        TUE                    3



This is My Telerik Radgrid Client Side Code
======================================
<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" Width="50%"
                GridLines="None" AutoGenerateColumns="false"
                <HeaderStyle HorizontalAlign="Left" />
                <MasterTableView DataKeyNames="ID" AutoGenerateColumns="false">
                    <Columns>
                        <telerik:GridBoundColumn HeaderText="ID" DataField="ID" />
                        <telerik:GridBoundColumn HeaderText="Days" DataField="Days" />
                        <telerik:GridBoundColumn HeaderText="OrderNo" DataField="OrderNo" />
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>

Dynamic increase checkbox should be shown in grid based on the records added or deleted i mention above my table structure

When i click button i need find control we have created dynamic checkbox in c# code how will do this.







0
Jayesh Goyani
Top achievements
Rank 2
answered on 24 Feb 2015, 06:22 PM
Hello Jaya,

Could you please also provide below detail?
1. Which method you have used to bind data into grid?
2. Provide code by which you are adding checkbox dynamically

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Jaya
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Jaya
Top achievements
Rank 1
Share this question
or