Hi I have a dropdown on page. When I click on dropdown to select some value, the dropdown list open and then closes on its own. I have to repeat this 4-5 times to select a value. For info :- the data binds with dropdown on runtime through database. Can anybody guide me what might be the proble开发者_JAVA百科m with this.
"what might be the problem with this"
The problem with this might be that your dropdown is loosing focus somehow after you click / select it.
It probably is a javascript problem.
Look in your page and check if a javascript closes the Dropdown on opening. You can view the bound events to your dropdown by using Visual Event.
Or maybe your mouse dbl clicks instead of single click. :)
At first please provide the code. In my guess you will be binding the code of DropDown on PostBack rather than (!IsPostBack) and make sure that the autopostback of DropDown is set to true.
精彩评论