Drop down list: AutoPostBack doesn't seem to work in Mozilla

P

pschrader

Hi !

I'm using Visual Studio .NET, Windows 2000 professional.

I made a very simple web application.
It consits of one web page with a drop down list and a label.
After an item has been selected from the list,
the page is supposed to be posted back to the server,
and there the label text is supposed to be changed.

This post back mechanism for the drop down list
works in Internet Explorer 6,
but not in Mozilla 1.4.
I don't understand why.

Here comes the essential part of the web page:

<form id="Form1" method="post" runat="server">
<P><asp:dropdownlist id="ddlLetters" runat="server" AutoPostBack="True">
<asp:ListItem>A</asp:ListItem>
<asp:ListItem>B</asp:ListItem>
<asp:ListItem>C</asp:ListItem>
</asp:dropdownlist></P>
<P><asp:label id="lblLetter" runat="server"></asp:label></P>
</form>

What must I do to make the post back mechanism work in both Mozilla and IE?

Your kind help would be appreciated.
 
P

pschrader

In the meantime I found out by myself how to repair this misbehavior.
JavaScript must be activated in Mozilla for the post back mechanism to work.

Sorry !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top