updatePanel in firefox

2 posts, 0 answers
  1. kv's rhwnd
    kv's rhwnd avatar
    18 posts
    Member since:
    Mar 2010

    Posted 31 May 2010 Link to this post

    Posted 0 minutes ago (permalink)

    I,m Using an updatePanel in a page of my website that with click on any label of menu bar the content of panel changes and a usercontrol load into panel, my website work correctly in IE8 but in firefox ot netscape or opera no event occured and no information shows,Can U tell me how can i fix this problem?
    this is a peace of my code:
    <asp:UpdatePanel ID="Updatepnl" runat="server" UpdateMode="Conditional">
     <asp:Panel ID="MainPanel" runat="server" Width="100%" Height="996px">
     <asp:Button ID="btnAjax" runat="server" style="display:none;" OnClick="btnAjax_Click"/>
     <input id="hdn" type="hidden" runat="server"/>
     <%-- <Triggers><asp:AsyncPostBackTrigger ControlID="btnAjax" /> </Triggers> --%>
    and in my CodeBehind:
    protected void btnAjax_Click(object sender, EventArgs e)
            Panel ContentPanel = (Panel)Page.FindControl("MainPanel");
            string PageIndex = hdn.Value;

            if (ContentPanel != null)

                switch (PageIndex)

                    case "1":

    Thank u my friend.
  2. Prangadj
    Prangadj avatar
    174 posts
    Member since:
    Jan 2008
  3. DevCraft R3 2016 release webinar banner
Back to Top