c# - Autofill not recognizing characters after slash -


i'm trying use autofill in radtextbox, appeared working i'm having strange issue.

here code:

 var tb = ((textbox)((radtextboxitem)txindexno1.rootelement                       .children[0].children[0]).hostedcontrol);    var ls = lnq.nos.select(a => (a.index)).toarray();  tb.autocompletecustomsource.addrange(ls);  tb.autocompletemode = autocompletemode.append;  tb.autocompletesource = autocompletesource.customsource; 

the strings should be: (example)

123445/14 16277/14 

however autofill until backslash ?

enter image description here

is because escape character ??

any appreciated.

this seems issue in .net textbox, radtextbox hosts. here issue replicated .net control:

textbox tb = new textbox(); tb.parent = this; var ls = new string[] { "123445/14", "16277/14" }; tb.autocompletecustomsource.addrange(ls); tb.autocompletemode = autocompletemode.append; tb.autocompletesource = autocompletesource.customsource; 

i suggest use telerik's radtextboxcontrol, implementation of text box. here example:

radtextboxcontrol rtbc = new radtextboxcontrol(); rtbc.parent = this; rtbc.autocompletedatasource = new string[] { "123445//14", "16277//14" }; rtbc.autocompletemode = autocompletemode.append; 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -