This is a migrated thread and some comments may be shown as answers.

UpdatePanel Do'sent work in firefox or opera browser

1 Answer 29 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
kv's rhwnd
Top achievements
Rank 1
kv's rhwnd asked on 31 May 2010, 05:52 AM
Hi,
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">
 <ContentTemplate>
 <asp:Panel ID="MainPanel" runat="server" Width="100%" Height="996px">
 </asp:Panel>
 <asp:Button ID="btnAjax" runat="server" style="display:none;" OnClick="btnAjax_Click"/>
 <input id="hdn" type="hidden" runat="server"/>
 </ContentTemplate>
 <%-- <Triggers><asp:AsyncPostBackTrigger ControlID="btnAjax" /> </Triggers> --%>
 </asp:UpdatePanel>
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":
                    ContentPanel.Controls.Add(Page.LoadControl("Pages/Home.ascx"));
                    break;......}}}

Thank u my friend.

1 Answer, 1 is accepted

Sort by
0
Prangadj
Top achievements
Rank 1
answered on 31 May 2010, 12:10 PM
It looked you pick the wrong forum, my friend. Post in asp net forums if you use UpdatePanel, Telerik supports their ajax panel.

Prangadj 
Tags
General Discussions
Asked by
kv's rhwnd
Top achievements
Rank 1
Answers by
Prangadj
Top achievements
Rank 1
Share this question
or