Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

ASP.Net ListBox items are not highlighted according to first letter

$
0
0

Hello,

I am using  Listbox in my ASP.Net page i filled this with sql data. I changed AutoPostBack = true and written logic in 

lstBox1_SelectedIndexChanged event .. the logic is depending on list box item selected we need to show textbox values. this is my functionality everything working fine as expected, but listbox searching is not working below is the detailed explanation.

Mylistbox contains City names of  Alabama, Charlotte, Dallas,Grrensboro, Maryland,Miami,Nevada etc

When i click on Alabama post back occuring and displaying logic then if i want to go Maryland instead of scrolling towards bottom i just pressed "M" , when i pressed m it should gies to city names starts with M but it is not going at all.

if i set AutoPostBack = false it is  working ..

but for AutoPostBack  value True its not working.

What could be the problem? can anyone please help me on this.

Thanks

 

 


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>