lgriess 0 Light Poster

This works fine in Firefox but not in IE7????
I have this button:

    <asp:TableRow>
        <asp:TableCell VerticalAlign="Top" HorizontalAlign="Center" ColumnSpan="2">
            <asp:Button runat="server" ID="btn_Forgot" CausesValidation="false" BackColor="#E6E6E6" ToolTip="Click here if you forgot your password" BorderStyle="None" onclick="ForgotButton_Click"  ForeColor="Red" style="font-size: small; font-family: Arial"  Text="forgot your password?" />
        </asp:TableCell>

    </asp:TableRow>

and now the code behind for the button click:

protected void ForgotButton_Click(object sender, EventArgs e) {
            Table1.Visible = false;
            Table2.Visible = true;
}

I've just recently changed the page from using <table> elements to <asp:Table type
elements, I don't know if this is the cause of the problem or not.

Anybody please advise me.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.