Ajax with VS 2005
-
Hi All, I just come across a pretty weird behaviour on my VS 2005 and Ajax, basically i am having a master page and a content page. This is the front end html code for the master page:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="MasterPage.master.cs" Inherits="WebApplication3.MasterPage" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %><!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>Test Page</title>
<link href="Stylesheet1.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server"><asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> </asp:ContentPlaceHolder> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> <%--<cc:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></cc:ToolkitScriptManager> --%> <cc:Accordion ID="Accordion1" runat="server" FadeTransitions="true" SelectedIndex="0" HeaderCssClass="accordionHeader" ContentCssClass="accordionContent"> <Panes> <cc:AccordionPane ID="AccordionPane1" runat="server"> <Header>Test Pane 1</Header> <Content>Test pane 1</Content> </cc:AccordionPane> <cc:AccordionPane ID="AccordionPane2" runat="server"> <Header>Test Pane 2</Header> <Content>Test pane 2</Content> </cc:AccordionPane> <cc:AccordionPane ID="AccordionPane3" runat="server"> <Header>Test Pane 3</Header> <Content>Test pane 3</Content> </cc:AccordionPane> </Panes> </cc:Accordion> </div> </form>
</body>
</htm