Hi,
Is it possible to disable specific tokens in an AutoCompleteBox?
I found that tokens have a 'isDisabled' property, but changing it does nothing as far as I can tell.
This is my code so far
Is it possible to disable specific tokens in an AutoCompleteBox?
I found that tokens have a 'isDisabled' property, but changing it does nothing as far as I can tell.
This is my code so far
function AddNewEntry(pText, pDisabled) { var autoCompleteBox = $find("<%=RdtCmpltBx_Data.ClientID %>"); var entry = new Telerik.Web.UI.AutoCompleteBoxEntry(); entry.set_text(pText); autoCompleteBox.get_entries().add(entry); if (pDisabled == true) { var token = entry.get_token(); token.isDisabled = true; }}
