I am using the RadCombobox with the Load On Demand functionality. I have JS code that selects all the text in the combobox when a user clicks on it (This should be a feature of the combobox I think). This works once the combobox has had the data loaded into it but not the first time when the LOD is called. Right now I have it linked to the OnClientFocus event. I have tried linking the same code to the OnClientItemsRequested event but it doesn't work. Any thoughts? Below is my JS code.
function OnClientFocus(sender) { var combo = document.getElementById(sender._uniqueId); combo.select(); } |