selected value of radcomboBox inside radgrid in jquery

2 posts, 0 answers
  1. Nilesh
    Nilesh avatar
    4 posts
    Member since:
    Nov 2013

    Posted 25 Feb 2015 Link to this post

    I have radgrid and in the GridTemplateColumn iteam template  I have comboBox. On button click event, I want to get the selected value of the comboBox inside radgrid. I have used following jquery code but it not giving me right output

      $("#RadGrid1 tr").each(function () {
                                var testBit = $(this).find("select[class*=ddtestCombox]").val();

    how do I accomplished this task using jquery?

  2. Hristo Valyavicharski
    Hristo Valyavicharski avatar
    975 posts

    Posted 02 Mar 2015 Link to this post

    Hi Nilesh,

    You can use the following javascript to get reference of all RadComboBox-es on the page:

    var combos = Telerik.Web.UI.RadComboBox.ComboBoxes;

    or if you want to get the combos only from the grid:

        var $ = $telerik.$;
        var combos = [];
        function pageLoad() {
            $(".rgAltRow .RadComboBox, .rgRow .RadComboBox").each(function () {
                var comboId = $(this).attr('id');

    Hristo Valyavicharski

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top