Question

I have several telerik radcomboboxes inside a div with various id's. I want to find all of them and disable them without using those id's like say finding the tag name using javascript. Please help

Was it helpful?

Solution

Each RadControl renders a specific CSS class identifying the type of the control on the control container element. Additionally the JS object is an expando of the container element - control.

So, you can use this: $('.common-container-class-name .RadComboBox').each(function() { this.control.disable(); });

OTHER TIPS

Not sure what a Rad Combo Box is but it seems like different types of input / text elements so try:

$('.someContainerDiv input').attr('disabled','disabled');

Change input for whatever the element is, like the <textarea> tag.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top