Q: SelectedIndexChanged event for System.Web.UI.WebControls.DropDownList 
Author Message
 Q: SelectedIndexChanged event for System.Web.UI.WebControls.DropDownList

Hello!

For some reason "SelectedIndexChanged" event for DropDownList in my application does not work (and I cannot find any sample where it actually works).

Any idea?

Thanks!
--
D.E.



Mon, 25 Apr 2005 14:13:55 GMT  
 Q: SelectedIndexChanged event for System.Web.UI.WebControls.DropDownList
...set the AutoPostBack property of the DropDownList
object to true and write a delegate for the
OnSelectedIndexChange event of the same object. That will
do it.

Regards, Raphael (www.ilohraphael.net)

Quote:
>-----Original Message-----
>Hello!

>For some reason "SelectedIndexChanged" event for

DropDownList in my application does not work (and I cannot
find any sample where it actually works).
Quote:

>Any idea?

>Thanks!
>--
>D.E.



Mon, 25 Apr 2005 21:41:16 GMT  
 Q: SelectedIndexChanged event for System.Web.UI.WebControls.DropDownList


Wed, 18 Jun 1902 08:00:00 GMT  
 Q: SelectedIndexChanged event for System.Web.UI.WebControls.DropDownList

Be sure your DropDown Propertie AUTOPOSTBACK is set to true.
If this don't work, double-click on your dropdownList to re-link it to its event handler.
That's a .NET bug: sometimes some lines of InitializeComponent() disappear...

  Hello!

  For some reason "SelectedIndexChanged" event for DropDownList in my application does not work (and I cannot find any sample where it actually works).

  Any idea?

  Thanks!
  --
  D.E.



Tue, 26 Apr 2005 01:36:30 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. System.Web.UI.WebControls.FontInfo

2. Adding Web Controls to the System.Web.UI.WebControls namespace

3. Microsoft.Web.UI.WebControls.{MultiPage, TabStrip}

4. I can not find System.Web.UI.WebControls

5. Microsoft.Web.UI.WebControls

6. Can System.Web.UI.WebControls.PreRender overridable?

7. Unhandled Exception: System.Configuration.ConfigurationException: Could not create System Configuration.NameValueSectionHandler, System

8. Layout of Custom System.Web.UI.UserControl Objects added to parent

9. Subclassing System.Web.UI.Page

10. System.Web.UI.Page

11. can't find namespace using System.Web.UI.Design

12. combobox selectedindexchanged event fires during loading.

 

 
Powered by phpBB® Forum Software