Re: DropDownList Issue with Firefox
From: Oleg Ogurok (oleg_at_ogurok.com.ihatespammers.ireallydo.co)
Date: 02/09/05
- Next message: Max: "Where are the great .NET shopping carts?"
- Previous message: Steve C. Orr [MVP, MCSD]: "Re: problems reading network file from ASP .NET"
- In reply to: Olivier Verdin: "DropDownList Issue with Firefox"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 9 Feb 2005 17:33:04 -0500
The selected index is not yet set in Page_Load because ViewState hasn't been
restored/merged; so you can't read it there. You must attach a
SelectedIndexChanged event handler to your drop down list and read the new
value there.
-Oleg.
"Olivier Verdin" <olivier.verdin@playcorporate.com> wrote in message
news:OboPo5sDFHA.1524@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I have a page with several Textboxes and several DropDownList. When I
> click
> on a 'save' button, it creates a record in a database.
>
> The page works fine under Internet Explorer.
>
> It does not work under FireFox. The dropdownlist are always selecting the
> zero index value. If I debug and I stop the program in the page_load, the
> dropdownlist are already set to zero index.
>
> Anyone can help me?
>
> Thanks,
>
> Olivier
>
>
- Next message: Max: "Where are the great .NET shopping carts?"
- Previous message: Steve C. Orr [MVP, MCSD]: "Re: problems reading network file from ASP .NET"
- In reply to: Olivier Verdin: "DropDownList Issue with Firefox"
- Messages sorted by: [ date ] [ thread ]