RadCombo set_Text function not supported in Version 2010.1.519.40

2 posts, 0 answers
  1. sabeer
    sabeer avatar
    1 posts
    Member since:
    Jun 2011

    Posted 16 Jun 2011 Link to this post

    I am using the telerik version 2010.1.519.40 .Iam trying to set the text of radcombobox through javascript .But this code is not supported on this version.On low version it is working.


    My javascript function is

    function onCheckBoxClick(chk) {
                   var combo = document.getElementById("RadComboBox1");
                    combo.set_text("CustomText");
                 
                  
                }

    what is the keyword to set and get text of radcombobox in this version of telerik.
  2. Cat Cheshire
    Cat Cheshire avatar
    128 posts
    Member since:
    Jun 2010

    Posted 17 Jun 2011 Link to this post

    You can get the combo client-side using $find(), and then simply set_text() function to set the text:

    var combo = $find("<%=RadComboBox1.ClientID %>");
    combo.set_text("test");
Back to Top