Dropdown - SelectIndexChanged Event

  • Thread starter Thread starter SQL
  • Start date Start date
S

SQL

Hi, on my aspx page, I want to enable a textbox, when a certain item in a
dropdown is selected. I thought I could do this by adding code the the
dropdown's SelectIndexChanged event, but that doesn't seem to fire after the
dropdown is changed. Is there another way to do this?

Thanks
 
SQL said:
Hi, on my aspx page, I want to enable a textbox, when a certain item in a
dropdown is selected. I thought I could do this by adding code the the
dropdown's SelectIndexChanged event, but that doesn't seem to fire after the
dropdown is changed. Is there another way to do this?

You need to set autopostback to true for the dropdown.

Regards /Magnus Lidbom
 
Back
Top