DropDownList

  • Thread starter Thread starter Mira Vizjak
  • Start date Start date
M

Mira Vizjak

Hi
I looked everywhere to solve my problem but with no success. On page there
is a dropdownlist control which is binded to a database. When I select one
of the list item and press a button I would like to get the SelectedItem
property, but it is always set to Nothing. What should i do? On page load I
use Page.IsPostBack=false to load the dropdownlist only once.
Thanks!

Jure
 
Have you set AutoPostBack =true of Ddl

Regards
Sushila
..NET MVP
 
I don't want the page to reload so I can't use AutoPostBack=true.
 
Did you set the 'EnableViewState' to true for the dropdownlist ?
 
the item in a check list has a value and item text, are you setting the item
value?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top