Hi Erich,
Thanks for your reaction.
This is the MasterPage with original spring:head tag
Code:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.Master.cs" Inherits="EJSSD.BrokerTool.Web.SiteMaster" Debug="true"%>
<!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" >
<spring:Head id="Head1" runat="server">
<link href="<%= Page.CssRoot %>/default.css" type="text/css" rel="stylesheet" />
<title><%= GetMessage("default.title") %></title>
<asp:ContentPlaceHolder id="head" runat="server" />
</spring:Head>
<body>
<form id="form" method="post" runat="server">
<div id="container">
<div id="logo">
<spring:LocalizedImage id="logoImage" imageName="spring-air-logo.jpg" borderWidth="0" runat="server" />
</div>
<div id="content">
................
which gives the error described above, when used with this content page:
Code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditApplication.aspx.cs" Inherits="EJSSD.BrokerTool.Web.EditApplication" %>
<asp:content id="editAppContent" contentplaceholderid="body" runat="server">
<table cellspacing="0" cellpadding="0" width="90%" align="center" border="0">
<tr>
<td>
<asp:label id="lblAppName" runat="server" text="Name"/>
</td>
<td>
<asp:textbox id="txtAppName" runat="server" />
</td>
</tr>
<tr>
<td>
<asp:label id="lblStartDate" runat="server" text="Start date"/>
</td>
<td>
<asp:textbox id="txtStartDate" runat="server" />
<ajaxToolkit:CalendarExtender id="startDateExtender" runat="server" TargetControlID="txtStartDate"
Format="dd-MM-yyyy"/>
</td>
</tr>
..................
I colored the AjaxControlToolkit tag to better show where it is used.
Problem is not present when changing the Masterpage to:
Code:
.........
<head id="head" runat="server">
<title>Survey</title>
<link href="css/default.css" type="text/css" rel="stylesheet" />
</head>
............
Thanks so far,
EJ