DropDownList SelectedIndexChanged event not firing when in a panel

When dynamically placing dropdownlists inside a panel, the
dropdownlist's SelectedIndexChanged event doesn't fire. If you take
the dropdownlist out of the panel it works properly. Autopostback is
set to True on the DropDownList. Is there something I'm missing? Any
help would be greatly appreciated.

Advertisements

Is the same problem that I have, it works fine outside of the Panel,
but not inside... I'm trying with ListBox webserver controls.

Dago.

Paul Lacey wrote:
> When dynamically placing dropdownlists inside a panel, the
> dropdownlist's SelectedIndexChanged event doesn't fire. If you take
> the dropdownlist out of the panel it works properly. Autopostback is
> set to True on the DropDownList. Is there something I'm missing?
Any
> help would be greatly appreciated.

"DagoFlores" wrote:
> Is the same problem that I have, it works fine outside of the Panel,
> but not inside... I'm trying with ListBox webserver controls.
>
> Dago.
>
> Paul Lacey wrote:
> > When dynamically placing dropdownlists inside a panel, the
> > dropdownlist's SelectedIndexChanged event doesn't fire. If you take
> > the dropdownlist out of the panel it works properly. Autopostback is
> > set to True on the DropDownList. Is there something I'm missing?
> Any
> > help would be greatly appreciated.
>
>

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!