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

Browser Compatibility issue

1 Answer 32 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Samir
Top achievements
Rank 1
Samir asked on 14 Sep 2012, 10:59 AM

Hi there,

              Is there any solution to this problem ?

         I have an issue in telerik control like RadLIstbox or Combobox .there is one method set_text which is not supported in the IE9 browser and other browser are working fine.

SCRIPT438: Object(RadListbox) doesn't support property or method 'set_text'
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.50731.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3af8fb2a65-e23a-483b-b20e-6db6ef539a22%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2011.3.1115.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3acf16ab29-be3a-4761-9f9e-2c05ea68ff51%3a16e4e7cd%3aed16cbdc%3af7645509%3a24ee1bba%3ae330518b%3a5f39f986%3a1e771326%3ac8618e41%3aa1a4383a%3a58366029%3af46195d3%3aaa288e2d%3ae4f8f289%3a2bef5fcc%3a7165f74%3a874f8ea2%3ac172ae1e%3a9cdfc6e7%3a19620875%3a39040b5c%3af85f9819, line 3 character 83670



1 Answer, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 17 Sep 2012, 04:04 PM
Hi Samir,

RadComboBox has a client method called set_text(). I have just tested it on our online demos and it works as expected. Whilst, the RadListBox does not have such client method -- you are allowed to only change the text of the items in the RadListBox.
Here is an example:
$find("RadListBox1").get_items().getItem(0).set_text("some text");

Would you please paste here the code involved in the troubled behavior you experience at your end?

All the best,
Ivana
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
ListBox
Asked by
Samir
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Share this question
or