Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 509
  • Last Modified:

Autopostback does not appear to indicate selected value of combobox

Code warriors,

I set up my asp.net app with a combobox set to autopostback = true.

However when an item is selected and the MyComboBox_SelectedIndexChanged fires the selected index item does not appear to change.  Whats going on?

I read elsewhere about having to initialize a combo box in order to work with events but the trigger mechanism appears to work ok.

Any suggestions?  I'm doing my code in VB.

Thank You,

Ted
0
tcalbaz
Asked:
tcalbaz
1 Solution
 
YZlatCommented:
post your code for the combo box
0
 
DotNetLover_BaanCommented:
are you populating/loading the "MyComboBox" at Page_Load.. ?
0
 
tcalbazAuthor Commented:
Duh!
I think I am coding too much.
Thanks DotNetLover!

Ted
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now