Version: RadControls for ASP.NET AJAX 2009 Q3 (1208)
I have been unable to refresh a listbox after renaming an item using the following code. I have also attempted using the listbox track/commit functions pre/post rename to no avail.
var listbox = $find("<%= MyListBox.ClientID %>"); |
var selectedItem = listbox.get_selectedItem(); |
if (selectedItem) { |
selectedItem.set_text("New Name"); |
listbox.repaint(); |
} |
Please suggest the correct method for renaming a listbox item so that it may be visible to the end user.
Thanks,
Karlin