Wizard Control

JTLoh

New member
Joined
Apr 26, 2006
Messages
2
Programming Experience
Beginner
Hello all.
My name is James and I am looking for some help on an error coming from Firefox and my drop down box within my wizard control.

I have a wizard control which contains a drop down box to select a state. In IE everything seems to be working fine, however in Firefox version 2.0.0.4 when you select a state then try to move on my required field validation control fires and the selected state is removed and the focus is set the first value, which is blank.

I don't know if there is anything wrong in my code, or if this is an issue with firefox, here is some of my code:

HTML:
<asp:DropDownList ID="ddBusState" runat="server" Style="position: static"
                                    Width="50px">
                                    <asp:ListItem></asp:ListItem>
                                    <asp:ListItem>	AL	</asp:ListItem>
                                    <asp:ListItem>	AK	</asp:ListItem>
                                    <asp:ListItem>	AZ	</asp:ListItem>
                                    <asp:ListItem>	AR	</asp:ListItem>
                                    <asp:ListItem>	CA	</asp:ListItem>
                                    <asp:ListItem>	CO	</asp:ListItem>
                                    <asp:ListItem>	CT	</asp:ListItem>
                                    <asp:ListItem>	DE	</asp:ListItem>
                                    <asp:ListItem>	FL	</asp:ListItem>
                                    <asp:ListItem>	GA	</asp:ListItem>
                                    <asp:ListItem>	HI	</asp:ListItem>
                                    <asp:ListItem>	ID	</asp:ListItem>
                                    <asp:ListItem>	IL	</asp:ListItem>
                                    <asp:ListItem>	IN	</asp:ListItem>
                                    <asp:ListItem>	IA	</asp:ListItem>
                                    <asp:ListItem>	KS	</asp:ListItem>
                                    <asp:ListItem>	KY	</asp:ListItem>
                                    <asp:ListItem>	LA	</asp:ListItem>
                                    <asp:ListItem>	ME	</asp:ListItem>
                                    <asp:ListItem>	MD	</asp:ListItem>
                                    <asp:ListItem>	MA	</asp:ListItem>
                                    <asp:ListItem>	MI	</asp:ListItem>
                                    <asp:ListItem>	MN	</asp:ListItem>
                                    <asp:ListItem>	MS	</asp:ListItem>
                                    <asp:ListItem>	MO	</asp:ListItem>
                                    <asp:ListItem>	MT	</asp:ListItem>
                                    <asp:ListItem>	NE	</asp:ListItem>
                                    <asp:ListItem>	NV	</asp:ListItem>
                                    <asp:ListItem>	NH	</asp:ListItem>
                                    <asp:ListItem>	NJ	</asp:ListItem>
                                    <asp:ListItem>	NM	</asp:ListItem>
                                    <asp:ListItem>	NY	</asp:ListItem>
                                    <asp:ListItem>	NC	</asp:ListItem>
                                    <asp:ListItem>	ND	</asp:ListItem>
                                    <asp:ListItem>	OH	</asp:ListItem>
                                    <asp:ListItem>	OK	</asp:ListItem>
                                    <asp:ListItem>	OR	</asp:ListItem>
                                    <asp:ListItem>	PA	</asp:ListItem>
                                    <asp:ListItem>	RI	</asp:ListItem>
                                    <asp:ListItem>	SC	</asp:ListItem>
                                    <asp:ListItem>	SD	</asp:ListItem>
                                    <asp:ListItem>	TN	</asp:ListItem>
                                    <asp:ListItem>	TX	</asp:ListItem>
                                    <asp:ListItem>	UT	</asp:ListItem>
                                    <asp:ListItem>	VT	</asp:ListItem>
                                    <asp:ListItem>	VA	</asp:ListItem>
                                    <asp:ListItem>	WA	</asp:ListItem>
                                    <asp:ListItem>	WV	</asp:ListItem>
                                    <asp:ListItem>	WI	</asp:ListItem>
                                    <asp:ListItem>	WY	</asp:ListItem>
                                </asp:DropDownList>
<asp:RequiredFieldValidator ID="valBusState" runat="server" ControlToValidate="ddBusState"
                                    Display="Dynamic" ErrorMessage="State Required" SetFocusOnError="True"
 Style="position: static"></asp:RequiredFieldValidator>

Thanks for any help anyone can provide.
 
Last edited by a moderator:
Back
Top