﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Coolite Forums / Coolite Toolkit / Help  / ScriptContainer location not honoured in 0.8 against 0.7 / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Coolite Forums</description><link>http://coolite.com/forums/</link><webMaster>do-not-reply@coolite.com</webMaster><lastBuildDate>Sat, 13 Mar 2010 15:39:15 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: ScriptContainer location not honoured in 0.8 against 0.7</title><link>http://coolite.com/forums/Topic14894-4-1.aspx</link><description> The StyleContainer has solved the issue - thanks! =)&lt;br&gt;</description><pubDate>Wed, 10 Jun 2009 01:27:31 GMT</pubDate><dc:creator>RobertWrayUK</dc:creator></item><item><title>RE: ScriptContainer location not honoured in 0.8 against 0.7</title><link>http://coolite.com/forums/Topic14894-4-1.aspx</link><description>Hi RobertWrayUK,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Try adding a new &amp;lt;ext:StyleContainer&amp;gt; into the &amp;lt;head&amp;gt; where you'd like the Toolkit .css files rendered.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Example&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;[code]&amp;lt;ext:StyleContainer runat="server" /&amp;gt;[/code]&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Hope this helps.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;</description><pubDate>Tue, 09 Jun 2009 10:14:30 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item><item><title>ScriptContainer location not honoured in 0.8 against 0.7</title><link>http://coolite.com/forums/Topic14894-4-1.aspx</link><description>When using 0.7 I identified an issue whereby without having a ScriptContainer at the end of the &amp;lt;head&amp;gt; tag, the position of the "&amp;lt;meta http-equiv="X-UA-Compatible" content="IE=7" /&amp;gt;" I was using to persuade IE8 to match IE7 rendering was not being honoured.&lt;br&gt;&lt;br&gt;Adding the ScriptContainer tag solved this issue, but 0.8 seems to regress this behaviour and places the "&lt;span class="comment"&gt;&amp;lt;!-- Coolite Toolkit for ASP.NET with ExtJS [Professional Edition]. Version 0.8.0.30406. --&amp;gt;&lt;/span&gt;" and stylesheets at the top of the &amp;lt;head&amp;gt; element, which breaks the X-UA-Compatible flag.&lt;br&gt;&lt;br&gt;I've had a look at the code for ScriptContainer and it's definately changed as the render method now outputs a placeholder. Is there any way for me to solve this other than producing a custom build, or waiting for the next release of Coolite?&lt;br&gt;&lt;br&gt;Minimal test-case:&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;&amp;lt;%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %&amp;gt;&lt;br&gt;&amp;lt;%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %&amp;gt;&lt;br&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;&lt;br&gt;&amp;lt;head runat="server"&amp;gt;&lt;br&gt;    &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=7" /&amp;gt;&lt;br&gt;    &amp;lt;title&amp;gt;Specimen Page&amp;lt;/title&amp;gt;&lt;br&gt;    &amp;lt;ext:ScriptContainer runat="server" ID="extJsScriptContainer"&amp;gt;&lt;br&gt;    &amp;lt;/ext:ScriptContainer&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;    &amp;lt;form id="form1" runat="server"&amp;gt;&lt;br&gt;    &amp;lt;div&amp;gt;&lt;br&gt;        &amp;lt;ext:ScriptManager runat="server" ID="extjsScriptManager"&amp;gt;&amp;lt;/ext:ScriptManager&amp;gt;&lt;br&gt;        &amp;lt;ext:Panel runat="server" ID="testPanel" Header="true" Title="Test" Height="300" Width="400"&amp;gt;&amp;lt;/ext:Panel&amp;gt;&lt;br&gt;    &amp;lt;/div&amp;gt;&lt;br&gt;    &amp;lt;/form&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;&lt;b&gt;Expected behaviour: &lt;/b&gt;The X-UA-Compatible tag should be the first child in the rendered markup for the &amp;lt;head&amp;gt; tag&lt;br&gt;&lt;b&gt;Actual behaviour:&lt;/b&gt; The Coolite CSS/"vanity comment" :) are inserted at the top of the head tag&lt;br&gt;</description><pubDate>Tue, 09 Jun 2009 05:54:05 GMT</pubDate><dc:creator>RobertWrayUK</dc:creator></item></channel></rss>