<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SharePoint Branding Issues: Edit In Datasheet View</title>
	<atom:link href="http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/feed/" rel="self" type="application/rss+xml" />
	<link>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/</link>
	<description>Rantings of an Insomniac Mind</description>
	<lastBuildDate>Thu, 18 Feb 2010 21:38:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: vks</title>
		<link>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/comment-page-1/#comment-9997</link>
		<dc:creator>vks</dc:creator>
		<pubDate>Mon, 14 Sep 2009 06:27:43 +0000</pubDate>
		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=81#comment-9997</guid>
		<description>function GCComputeSizing(GCObject)
{
if (TestGCObject(GCObject))
{
var fBIDI=(document.documentElement.currentStyle.direction==”rtl”);
var lGCWindowWidth=document.documentElement.scrollWidth;
var lGCWindowHeight=(document.documentElement.scrollHeight&gt;document.documentElement.clientHeight) ? document.documentElement.clientHeight : document.documentElement.scrollHeight;
var lGCObjectOffsetLeft=0;
var lGCObjectOffsetTop=0;
if (fBIDI)
{
lGCObjectOffsetLeft=-180;
lGCObjectOffsetTop=120;
}
else
{
lGCObjectOffsetLeft=32;
lGCObjectOffsetTop=-2;
}
var lGCObjectWalker=GCObject.parentElement;
while (lGCObjectWalker !=document.body)
{
lGCObjectOffsetLeft+=lGCObjectWalker.offsetLeft;
lGCObjectOffsetTop+=lGCObjectWalker.offsetTop;
lGCObjectWalker=lGCObjectWalker.offsetParent;
if (fBIDI)
if (lGCObjectWalker.offsetLeft &gt; 0)
break;
}

lGCObjectOffsetLeft+=GCObject.parentElement.offsetLeft;
lGCObjectOffsetTop+=GCObject.parentElement.offsetTop;
glGCObjectHeight=lGCWindowHeight – lGCObjectOffsetTop;

if (glGCObjectHeight &gt; lGCWindowHeight)
glGCObjectHeight=lGCWindowHeight


var IE_SIX =new Number(RegExp.$1);
if (ieversion&gt;=6)
  {
	return false;
  }

if (glGCObjectHeight lGCWindowWidth)
glGCObjectWidth=lGCWindowWidth;
if (glGCObjectWidth &lt; cGCMinimumWidth)
glGCObjectWidth=cGCMinimumWidth;
}
}</description>
		<content:encoded><![CDATA[<p>function GCComputeSizing(GCObject)<br />
{<br />
if (TestGCObject(GCObject))<br />
{<br />
var fBIDI=(document.documentElement.currentStyle.direction==”rtl”);<br />
var lGCWindowWidth=document.documentElement.scrollWidth;<br />
var lGCWindowHeight=(document.documentElement.scrollHeight>document.documentElement.clientHeight) ? document.documentElement.clientHeight : document.documentElement.scrollHeight;<br />
var lGCObjectOffsetLeft=0;<br />
var lGCObjectOffsetTop=0;<br />
if (fBIDI)<br />
{<br />
lGCObjectOffsetLeft=-180;<br />
lGCObjectOffsetTop=120;<br />
}<br />
else<br />
{<br />
lGCObjectOffsetLeft=32;<br />
lGCObjectOffsetTop=-2;<br />
}<br />
var lGCObjectWalker=GCObject.parentElement;<br />
while (lGCObjectWalker !=document.body)<br />
{<br />
lGCObjectOffsetLeft+=lGCObjectWalker.offsetLeft;<br />
lGCObjectOffsetTop+=lGCObjectWalker.offsetTop;<br />
lGCObjectWalker=lGCObjectWalker.offsetParent;<br />
if (fBIDI)<br />
if (lGCObjectWalker.offsetLeft > 0)<br />
break;<br />
}</p>
<p>lGCObjectOffsetLeft+=GCObject.parentElement.offsetLeft;<br />
lGCObjectOffsetTop+=GCObject.parentElement.offsetTop;<br />
glGCObjectHeight=lGCWindowHeight – lGCObjectOffsetTop;</p>
<p>if (glGCObjectHeight > lGCWindowHeight)<br />
glGCObjectHeight=lGCWindowHeight</p>
<p>var IE_SIX =new Number(RegExp.$1);<br />
if (ieversion>=6)<br />
  {<br />
	return false;<br />
  }</p>
<p>if (glGCObjectHeight lGCWindowWidth)<br />
glGCObjectWidth=lGCWindowWidth;<br />
if (glGCObjectWidth < cGCMinimumWidth)<br />
glGCObjectWidth=cGCMinimumWidth;<br />
}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Sammut</title>
		<link>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/comment-page-1/#comment-5082</link>
		<dc:creator>Chris Sammut</dc:creator>
		<pubDate>Thu, 05 Mar 2009 11:31:43 +0000</pubDate>
		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=81#comment-5082</guid>
		<description>Hi, 
When i convert the list to XSLT Data View in SP Designer, the &quot;Edit in Datasheet&quot; dissapears from the &quot;Actions&quot; menu.
Is there a way around this as I wish to add some conditional formatting whilst retaining the same functionality.

Thanks

Regards

Chris</description>
		<content:encoded><![CDATA[<p>Hi,<br />
When i convert the list to XSLT Data View in SP Designer, the &#8220;Edit in Datasheet&#8221; dissapears from the &#8220;Actions&#8221; menu.<br />
Is there a way around this as I wish to add some conditional formatting whilst retaining the same functionality.</p>
<p>Thanks</p>
<p>Regards</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Riccardo</title>
		<link>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/comment-page-1/#comment-5059</link>
		<dc:creator>Riccardo</dc:creator>
		<pubDate>Mon, 02 Mar 2009 14:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=81#comment-5059</guid>
		<description>Sry for the dual post. 
The statements above should have If statements around them for IE6 and Ie7.Google for if IE 6 and if IE 7.
Cheers
Riccardo</description>
		<content:encoded><![CDATA[<p>Sry for the dual post.<br />
The statements above should have If statements around them for IE6 and Ie7.Google for if IE 6 and if IE 7.<br />
Cheers<br />
Riccardo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Riccardo</title>
		<link>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/comment-page-1/#comment-5058</link>
		<dc:creator>Riccardo</dc:creator>
		<pubDate>Mon, 02 Mar 2009 14:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=81#comment-5058</guid>
		<description>Hey everyone
Just to let you know i found a solution that works for me.If you have a left Nav that always has a height, (There are better ways) in the head of the master page add. Might not work for everyone.Sry.

&lt;!--[if IE 6]&gt;--&gt;
		
		    body {style=height:0px;} /* fix for datasheet view */
 
&lt;!--[if IE 7]&gt;--&gt;
	     
		    body {style=height:0px;} /* fix for datasheet view */
		


Riccardo</description>
		<content:encoded><![CDATA[<p>Hey everyone<br />
Just to let you know i found a solution that works for me.If you have a left Nav that always has a height, (There are better ways) in the head of the master page add. Might not work for everyone.Sry.</p>
<p><!--[if IE 6]>&#8211;></p>
<p>		    body {style=height:0px;} /* fix for datasheet view */</p>
<p><!--[if IE 7]>&#8211;></p>
<p>		    body {style=height:0px;} /* fix for datasheet view */</p>
<p>Riccardo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa</title>
		<link>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/comment-page-1/#comment-4945</link>
		<dc:creator>Lisa</dc:creator>
		<pubDate>Mon, 16 Feb 2009 04:50:11 +0000</pubDate>
		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=81#comment-4945</guid>
		<description>I have a blue band master page that I have customized, I had a footer with style and height specified, I was receiving errors when trying to open in Data Sheet view until I deleted the cell height of the footer. I can now open in Data Sheet view as long as I am using an XP machine with IE7, however if using a Vista machine with IE7 the open in Data Sheet view looks up IE. Anyone have any suggestions?</description>
		<content:encoded><![CDATA[<p>I have a blue band master page that I have customized, I had a footer with style and height specified, I was receiving errors when trying to open in Data Sheet view until I deleted the cell height of the footer. I can now open in Data Sheet view as long as I am using an XP machine with IE7, however if using a Vista machine with IE7 the open in Data Sheet view looks up IE. Anyone have any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tombo</title>
		<link>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/comment-page-1/#comment-4843</link>
		<dc:creator>Tombo</dc:creator>
		<pubDate>Wed, 04 Feb 2009 22:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=81#comment-4843</guid>
		<description>Thanks Joel and Joyce for your input.

Joel&gt; I also discovered your findings some time ago. Unfortunately it didn&#039;t really help me to get a full fix. Why? Well, this javascript fix does not work in IE6. IE7 appears to be handling the workaround just fine. IE6 on the other hand still gives me trouble.

So if anyone knows something more, just leave a comment. :-)</description>
		<content:encoded><![CDATA[<p>Thanks Joel and Joyce for your input.</p>
<p>Joel> I also discovered your findings some time ago. Unfortunately it didn&#8217;t really help me to get a full fix. Why? Well, this javascript fix does not work in IE6. IE7 appears to be handling the workaround just fine. IE6 on the other hand still gives me trouble.</p>
<p>So if anyone knows something more, just leave a comment. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Hulen</title>
		<link>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/comment-page-1/#comment-4839</link>
		<dc:creator>Joel Hulen</dc:creator>
		<pubDate>Wed, 04 Feb 2009 14:41:29 +0000</pubDate>
		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=81#comment-4839</guid>
		<description>You stated:

&quot;Now, the strange thing is, the custom master pages of MOSS (BlueBand, OrangeSingleLevel, …) do not experience this bug, altough they also use a specific doctype&quot;

With my testing, I&#039;ve found that the conditions needed to reproduce this issue are:

1. You are using a custom master page and have specified a DOCTYPE

2. You have images or spacing in the footer area (or anywhere underneath the main content area) that specify a height. This also includes class styles with a height setting on any element in this region.

The custom master pages that come with MOSS don&#039;t have images or spacing in the footer area. That&#039;s the difference.

BTW, it&#039;s a great idea to override the offending method instead of modifying the CORE.js file, as Joyce says. However, the overridden method above has a typo. Here&#039;s the fixed one (unless your formatter screws it up):

function GCComputeSizing(GCObject)
{
	if (TestGCObject(GCObject))
	{
		var fBIDI=(document.documentElement.currentStyle.direction==&quot;rtl&quot;);
		var lGCWindowWidth=document.documentElement.scrollWidth;
		var lGCWindowHeight=(document.documentElement.scrollHeight&gt;document.documentElement.clientHeight) ? document.documentElement.clientHeight : document.documentElement.scrollHeight;
		var lGCObjectOffsetLeft=0;
		var lGCObjectOffsetTop=0;
		if (fBIDI)
			{
			lGCObjectOffsetLeft=-180;
			lGCObjectOffsetTop=120;
			}
		else
			{
			lGCObjectOffsetLeft=32;
			lGCObjectOffsetTop=-2;
			}
		var lGCObjectWalker=GCObject.parentElement;
		while (lGCObjectWalker !=document.body)
		{
			lGCObjectOffsetLeft+=lGCObjectWalker.offsetLeft;
			lGCObjectOffsetTop+=lGCObjectWalker.offsetTop;
			lGCObjectWalker=lGCObjectWalker.offsetParent;
			if (fBIDI)
				if (lGCObjectWalker.offsetLeft &gt; 0)
					break;
		}
		lGCObjectOffsetLeft+=GCObject.parentElement.offsetLeft;
		lGCObjectOffsetTop+=GCObject.parentElement.offsetTop;
		glGCObjectHeight=lGCWindowHeight - lGCObjectOffsetTop;
		if (glGCObjectHeight &gt; lGCWindowHeight)
			glGCObjectHeight=lGCWindowHeight
		if (glGCObjectHeight  lGCWindowWidth)
				glGCObjectWidth=lGCWindowWidth;
		if (glGCObjectWidth &lt; cGCMinimumWidth)
			glGCObjectWidth=cGCMinimumWidth;
	}
}


Joel</description>
		<content:encoded><![CDATA[<p>You stated:</p>
<p>&#8220;Now, the strange thing is, the custom master pages of MOSS (BlueBand, OrangeSingleLevel, …) do not experience this bug, altough they also use a specific doctype&#8221;</p>
<p>With my testing, I&#8217;ve found that the conditions needed to reproduce this issue are:</p>
<p>1. You are using a custom master page and have specified a DOCTYPE</p>
<p>2. You have images or spacing in the footer area (or anywhere underneath the main content area) that specify a height. This also includes class styles with a height setting on any element in this region.</p>
<p>The custom master pages that come with MOSS don&#8217;t have images or spacing in the footer area. That&#8217;s the difference.</p>
<p>BTW, it&#8217;s a great idea to override the offending method instead of modifying the CORE.js file, as Joyce says. However, the overridden method above has a typo. Here&#8217;s the fixed one (unless your formatter screws it up):</p>
<p>function GCComputeSizing(GCObject)<br />
{<br />
	if (TestGCObject(GCObject))<br />
	{<br />
		var fBIDI=(document.documentElement.currentStyle.direction==&#8221;rtl&#8221;);<br />
		var lGCWindowWidth=document.documentElement.scrollWidth;<br />
		var lGCWindowHeight=(document.documentElement.scrollHeight&gt;document.documentElement.clientHeight) ? document.documentElement.clientHeight : document.documentElement.scrollHeight;<br />
		var lGCObjectOffsetLeft=0;<br />
		var lGCObjectOffsetTop=0;<br />
		if (fBIDI)<br />
			{<br />
			lGCObjectOffsetLeft=-180;<br />
			lGCObjectOffsetTop=120;<br />
			}<br />
		else<br />
			{<br />
			lGCObjectOffsetLeft=32;<br />
			lGCObjectOffsetTop=-2;<br />
			}<br />
		var lGCObjectWalker=GCObject.parentElement;<br />
		while (lGCObjectWalker !=document.body)<br />
		{<br />
			lGCObjectOffsetLeft+=lGCObjectWalker.offsetLeft;<br />
			lGCObjectOffsetTop+=lGCObjectWalker.offsetTop;<br />
			lGCObjectWalker=lGCObjectWalker.offsetParent;<br />
			if (fBIDI)<br />
				if (lGCObjectWalker.offsetLeft &gt; 0)<br />
					break;<br />
		}<br />
		lGCObjectOffsetLeft+=GCObject.parentElement.offsetLeft;<br />
		lGCObjectOffsetTop+=GCObject.parentElement.offsetTop;<br />
		glGCObjectHeight=lGCWindowHeight &#8211; lGCObjectOffsetTop;<br />
		if (glGCObjectHeight &gt; lGCWindowHeight)<br />
			glGCObjectHeight=lGCWindowHeight<br />
		if (glGCObjectHeight  lGCWindowWidth)<br />
				glGCObjectWidth=lGCWindowWidth;<br />
		if (glGCObjectWidth &lt; cGCMinimumWidth)<br />
			glGCObjectWidth=cGCMinimumWidth;<br />
	}<br />
}</p>
<p>Joel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/comment-page-1/#comment-4836</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Wed, 04 Feb 2009 10:47:35 +0000</pubDate>
		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=81#comment-4836</guid>
		<description>Thank you very much for posting this fix - very useful.</description>
		<content:encoded><![CDATA[<p>Thank you very much for posting this fix &#8211; very useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joyce</title>
		<link>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/comment-page-1/#comment-4805</link>
		<dc:creator>Joyce</dc:creator>
		<pubDate>Wed, 28 Jan 2009 17:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=81#comment-4805</guid>
		<description>You can override the function from Core.js in your custom master pages.  This way you don&#039;t have to remove the doctype or mess with core.js.

function GCComputeSizing(GCObject)
{
	if (TestGCObject(GCObject))
	{
		var fBIDI=(document.documentElement.currentStyle.direction==&quot;rtl&quot;);
		var lGCWindowWidth=document.documentElement.scrollWidth;
		var lGCWindowHeight=(document.documentElement.scrollHeight&gt;document.documentElement.clientHeight) ? document.documentElement.clientHeight : document.documentElement.scrollHeight;

		var lGCObjectOffsetLeft=0;
		var lGCObjectOffsetTop=0;
		if (fBIDI)
			{
			lGCObjectOffsetLeft=-180;
			lGCObjectOffsetTop=120;
			}
		else
			{
			lGCObjectOffsetLeft=32;
			lGCObjectOffsetTop=-2;
			}
		var lGCObjectWalker=GCObject.parentElement;
		while (lGCObjectWalker !=document.body)
		{
			lGCObjectOffsetLeft+=lGCObjectWalker.offsetLeft;
			lGCObjectOffsetTop+=lGCObjectWalker.offsetTop;
			lGCObjectWalker=lGCObjectWalker.offsetParent;
			if (fBIDI)
				if (lGCObjectWalker.offsetLeft &gt; 0)
					break;
		}
		lGCObjectOffsetLeft+=GCObject.parentElement.offsetLeft;
		lGCObjectOffsetTop+=GCObject.parentElement.offsetTop;
		glGCObjectHeight=lGCWindowHeight - lGCObjectOffsetTop;
		if (glGCObjectHeight &gt; lGCWindowHeight)
			glGCObjectHeight=lGCWindowHeight
		if (glGCObjectHeight  lGCWindowWidth)
				glGCObjectWidth=lGCWindowWidth;
		if (glGCObjectWidth &lt; cGCMinimumWidth)
			glGCObjectWidth=cGCMinimumWidth;
	}
}</description>
		<content:encoded><![CDATA[<p>You can override the function from Core.js in your custom master pages.  This way you don&#8217;t have to remove the doctype or mess with core.js.</p>
<p>function GCComputeSizing(GCObject)<br />
{<br />
	if (TestGCObject(GCObject))<br />
	{<br />
		var fBIDI=(document.documentElement.currentStyle.direction==&#8221;rtl&#8221;);<br />
		var lGCWindowWidth=document.documentElement.scrollWidth;<br />
		var lGCWindowHeight=(document.documentElement.scrollHeight&gt;document.documentElement.clientHeight) ? document.documentElement.clientHeight : document.documentElement.scrollHeight;</p>
<p>		var lGCObjectOffsetLeft=0;<br />
		var lGCObjectOffsetTop=0;<br />
		if (fBIDI)<br />
			{<br />
			lGCObjectOffsetLeft=-180;<br />
			lGCObjectOffsetTop=120;<br />
			}<br />
		else<br />
			{<br />
			lGCObjectOffsetLeft=32;<br />
			lGCObjectOffsetTop=-2;<br />
			}<br />
		var lGCObjectWalker=GCObject.parentElement;<br />
		while (lGCObjectWalker !=document.body)<br />
		{<br />
			lGCObjectOffsetLeft+=lGCObjectWalker.offsetLeft;<br />
			lGCObjectOffsetTop+=lGCObjectWalker.offsetTop;<br />
			lGCObjectWalker=lGCObjectWalker.offsetParent;<br />
			if (fBIDI)<br />
				if (lGCObjectWalker.offsetLeft &gt; 0)<br />
					break;<br />
		}<br />
		lGCObjectOffsetLeft+=GCObject.parentElement.offsetLeft;<br />
		lGCObjectOffsetTop+=GCObject.parentElement.offsetTop;<br />
		glGCObjectHeight=lGCWindowHeight &#8211; lGCObjectOffsetTop;<br />
		if (glGCObjectHeight &gt; lGCWindowHeight)<br />
			glGCObjectHeight=lGCWindowHeight<br />
		if (glGCObjectHeight  lGCWindowWidth)<br />
				glGCObjectWidth=lGCWindowWidth;<br />
		if (glGCObjectWidth &lt; cGCMinimumWidth)<br />
			glGCObjectWidth=cGCMinimumWidth;<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohamad</title>
		<link>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/comment-page-1/#comment-4778</link>
		<dc:creator>Mohamad</dc:creator>
		<pubDate>Sun, 18 Jan 2009 12:21:21 +0000</pubDate>
		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=81#comment-4778</guid>
		<description>Hi,

Thanks for the post :)

Regards,</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the post <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards,</p>
]]></content:encoded>
	</item>
</channel>
</rss>
