I wish to disable a combobox and all its items using client side script. I've read all the documentation about how I should do this but whenever I try to call the disable() method I get an error saying that the method does not exist.
I am getting the reference to the ComboBox by calling document.getElementById("<% = combo.ClientID %>") but I notice that in your examples you are using a function called $find which appears to be undocumented as I can find no description of it anywhere on the web.
If I try to use this instead of getElementByID it always returns null.
Please could you explain to me the difference between $find and getElementById and how I can get this to work.
I have tried enclosing the script in a RadScriptBlock but it made no difference.
I am using version 2008.3.1314.35 of the Rad Ajax Components
Bob Boffin
I am getting the reference to the ComboBox by calling document.getElementById("<% = combo.ClientID %>") but I notice that in your examples you are using a function called $find which appears to be undocumented as I can find no description of it anywhere on the web.
If I try to use this instead of getElementByID it always returns null.
Please could you explain to me the difference between $find and getElementById and how I can get this to work.
I have tried enclosing the script in a RadScriptBlock but it made no difference.
I am using version 2008.3.1314.35 of the Rad Ajax Components
Bob Boffin