how to get user control in client

2 posts, 0 answers
  1. Eltiel
    Eltiel avatar
    5 posts
    Member since:
    Feb 2013

    Posted 02 Apr 2013 Link to this post

    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");
  2. Angel Petrov
    Angel Petrov avatar
    1075 posts

    Posted 08 Apr 2013 Link to this post

    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.
Back to Top