Ajax doesn't work on my website RRS feed

  • Question

  • User-909867351 posted


    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"/>
        <link rel="stylesheet" type="text/css" href="http://programamos.pt/cheirabem/css/geral.css"/>
        <link rel="stylesheet" type="text/css" href="css/geral.css">
        <form id="form1" runat="server">
                <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
                <ajaxToolkit:TabContainer ID="TabContainer1" Visible="true" runat="server">
                    <ajaxToolkit:TabPanel runat="server" HeaderText="ola">

    It works fine on localhost 


    But not on my website as you can test at:


    And my website runs very slow when I use ajaxtoolkit. 

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


    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