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

how to get user control in client

1 Answer 39 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Eltiel
Top achievements
Rank 1
Eltiel asked on 03 Apr 2013, 04:33 AM
As the below which is RadGrid method in client how to get user control in client, but recently I use treelist, i can not use same method for it. Please tell me how to find the checkbox element in javascript! thankss!!!

var grid = $find("<%= grdDetail.ClientID %>");
              var masterTable = grid.get_masterTableView();
              var rows = masterTable.get_dataItems();
                var i;
                for (i = 0; i < rows.length; i++) {
                    var rowResult = rows[i];
                        var textBoa= rowResult.findControl("textBoa");
                        var textBoc= rowResult.findControl("textBoc");
                        var Checkbox= rowResult.findElement("Checkbox");
                     }

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 08 Apr 2013, 06:37 AM
Hi Eltiel,

I am experiencing difficulties understanding the scenario. Could you please elaborate more on where exactly is the check box placed?. If you could send us your markup we would be able to give you a precise answer.

All the best,
Angel Petrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
TreeList
Asked by
Eltiel
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or