AJAX TabContainer Issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tomNevs
    New Member
    • Apr 2010
    • 1

    #1

    AJAX TabContainer Issue

    The code posted below is not working in IE. It finishes w/ a message in the browser "Done, but with errors" and the tabcontrol is not displayed. It works fine in Firefox.

    If you look at the errors generated they are all the same:

    Error: 'Sys' is undefined.

    Here is the code:

    Code:
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="testbed.aspx.cs" Inherits="testbed" %>
    <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolKit" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Untitled Page</title>
        <link href="css/tabs.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <form id="form1" runat="server">
        <ajaxToolKit:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server"/>
        <div>
            <ajaxToolKit:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1" 
                Height="191px" Width="388px" CssClass="green">
                <ajaxToolKit:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1">
                </ajaxToolKit:TabPanel>
                <ajaxToolKit:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">
                </ajaxToolKit:TabPanel>
            </ajaxToolKit:TabContainer>
        </div>                
        </form>
    </body>
    </html>
    As you can clearly see, this is incredibly basic...so...an yone have a clue?
Working...