locked
Ajax doesn't work on my website RRS feed

  • Question

  • User-909867351 posted

    Hi

    Please look at the following code:

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="lixo.aspx.cs" Inherits="lixo" %>
    
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
    
    <!DOCTYPE html>
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title></title>
      
        <link rel="stylesheet" type="text/css" href="http://programamos.pt/cheirabem/css/geral.css"/>
        <link rel="stylesheet" type="text/css" href="css/geral.css">
    </head>
    <body>
        <form id="form1" runat="server">
            <div>            
                <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
                <ajaxToolkit:TabContainer ID="TabContainer1" Visible="true" runat="server">
                    <ajaxToolkit:TabPanel runat="server" HeaderText="ola">
                        <ContentTemplate>tests</ContentTemplate>
                    </ajaxToolkit:TabPanel>                
                </ajaxToolkit:TabContainer>
            </div>
        </form>
    </body>
    </html>

    It works fine on localhost 

    czx

    But not on my website as you can test at:

    http://programamos.pt/cheirabem/lixo.aspx

    And my website runs very slow when I use ajaxtoolkit. 

    All the files are on Bin folder (inside httpdocs) as image below

    sdfsd

    Any help?

    Sunday, April 22, 2018 8:26 PM

All replies

  • User-1838255255 posted

    Hi mariolopes,

    According to your description and codes, i hope you could try the following steps: 

    1. Try to remove the ajax tool kit control code, then republish the website to the server, check the performance of the website. 
    2. I notice that some error message when i load this site, it spend more time when load page. You could check it in the browser-f12-console panel. 
    3. i think jquery tab also is a better choice that meet your needs, please check: http://jqueryui.com/tabs/ 

    Best Regards,

    Eric Du 

    Monday, April 23, 2018 10:00 AM