Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 617711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:27:56+00:00 2026-05-13T18:27:56+00:00

I have a button which is not working when placed below two panels. If

  • 0

I have a button which is not working when placed below two panels. If I move it above the panels, it works.

It works either way in Firefox. It does not work in IE 8

The button runs this code

protected void Button2_Click(object sender, EventArgs e)
    {
        panelForm.Enabled = true; //input panel
        panelOutput.Visible = false; //output panel
        Button1.Visible = true; //input panel button

    }

I have some workarounds, but was hoping to find the cause of the issue.

edit: here is the markup of the second panel and button. I’ve tried moving the button outside of the panel and get the same result.

<asp:Content ID="MainContent" Runat="Server" ContentPlaceHolderID="MainContentPlaceHolder">

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>

<asp:TextBox ID="domainUserID" runat="server" Visible="false"></asp:TextBox>
<!-- gray bar and title -->
<table style="width:100%; border-style:none;">
    <tr>
        <td class="com_headline">
            SQL Emergency Request [Home]
        </td>
    </tr>
    <tr class="com_app_instructions">
        <td>
            <p>Words here</p>
        </td>
    </tr>
</table>
<!-- end title and gray bar -->



<asp:Panel ID="panelForm" runat="server" Visible="True" CssClass="myform">
<form method="post" action="Default.aspx" id="form">
<h1>Request Form</h1>
<p>Complete this form to be issued a login</p>


<table cellpadding="5px">
    <tr>


            <td>
                IR Number
                <br />

                <span class="small">Obtain your IR number from
                <a href="http://apps.server/SMART">SMART</a></span>

            </td>
            <td>
                <asp:TextBox ID="txtIR" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtIR" CssClass="errorMsg" 
                    ErrorMessage="Please Enter Your IR Number">
                </asp:RequiredFieldValidator>
            </td>
    </tr>   

    <tr>
            <td>
                Server 
                <br />
                <span class="small">MSSQL5 is supported for now</span>
            </td>
            <td>
                <asp:DropDownList ID="ddServer" runat="server" AutoPostBack="True" 
                    Enabled="False" onselectedindexchanged="ddServer_SelectedIndexChanged">
                    <asp:ListItem>DEVMSSQL05</asp:ListItem>
                    <asp:ListItem Selected="True">MSSQL05</asp:ListItem>
                </asp:DropDownList>

            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="ddServer" CssClass="errorMsg" 
                    ErrorMessage="Please Choose A Server">
                </asp:RequiredFieldValidator>

            </td>
     </tr>
     <tr>
            <td>      
                Database 
                <br />
                <span class="small">You have the role of &#39;Analyst&#39; in these databases</span>
            </td>
            <td>
                <asp:DropDownList ID="ddDatabase" runat="server" AppendDataBoundItems="true" 
                    AutoPostBack="false" DataSourceID="DatabaseDropDownObjectDataSource" 
                    DataTextField="DatabaseName" DataValueField="DatabaseName" Width="150">
                </asp:DropDownList>

            </td>
            <td>

            </td>
     </tr>


                    <tr>
                        <td></td>
                        <td>
                            <asp:Button ID="Button1" runat="server" CssClass="com_btn_flat" 
                                onclick="Button1_Click" Text="Submit" />

                        </td>
                        <td>
                            <div id="loader">loading...</div>
                        </td>
                    </tr>


            </table>
        </form>
</asp:Panel>  

<asp:Panel ID="PanelError" runat="server" Visible="false" CssClass="errorPanel">
        <h1><asp:Label ID="txtErrorMsg" runat="server">error text</asp:Label></h1> 
</asp:Panel>
   <br />

<asp:Panel ID="panelOutput" runat="server" Visible="false" CssClass="panelOutput">

        <h1>
            <asp:Literal ID="Title" runat="server" Text=""/>
        </h1>
        <p>     
            <asp:Literal ID="Warning" runat="server" Text=""/>
        </p>
        <p>     
            <asp:Literal ID="LoginLifeHours" runat="server" Text=""/>
        </p>

        <p>
            <span class="important"> 
                <asp:Literal ID="Login" runat="server" Text="" />
            </span>
        </p>
        <p>     
            <span class="important">    
                <asp:Literal ID="PWD" runat="server" Text="" />
            </span>
        </p>
        <br />

        <p>   
            <asp:Button ID="Button2" runat="server" Text="Request Another Login" 
            onclick="Button2_Click" CssClass="com_btn_flat" />
        </p>



 </asp:Panel>

This is the button that is not responding in IE

<p>   
<asp:Button ID="Button2" runat="server" Text="Request Another Login" 
onclick="Button2_Click" CssClass="com_btn_flat" />
</p>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T18:27:57+00:00Added an answer on May 13, 2026 at 6:27 pm

    The problem is that you are using a <form> tag within your content page. The master page already includes a <form> tag and IE appears to be balking at the form within a form. When I removed the <form> tag from your aspx, the button handler ran under IE8.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 374k
  • Answers 374k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The problem with storing a graph directly in HDFS is… May 14, 2026 at 8:00 pm
  • Editorial Team
    Editorial Team added an answer You can use the command input for this, combined with… May 14, 2026 at 8:00 pm
  • Editorial Team
    Editorial Team added an answer Use \fn where you otherwise use \class in your \\*!… May 14, 2026 at 8:00 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.