<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Sharepoint Edit in Datasheet locks or freezes Internet Explorer</title><link>http://blogs.msdn.com/joshuag/archive/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer.aspx</link><description>I ran into an interesting issue in Sharepoint 2007 last week that took me a few hours to solve and was not easy to debug. I couldn't find any info on it anywhere so I thought this would be a good candidate for my first post to this blog. One of my customers</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>MSDN Blog Postings  &amp;raquo; Edit in Datasheet locks or freezes Internet Explorer</title><link>http://blogs.msdn.com/joshuag/archive/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer.aspx#6656388</link><pubDate>Tue, 04 Dec 2007 21:28:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6656388</guid><dc:creator>MSDN Blog Postings  » Edit in Datasheet locks or freezes Internet Explorer</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://msdnrss.thecoderblogs.com/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer/"&gt;http://msdnrss.thecoderblogs.com/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Sharepoint Edit in Datasheet locks or freezes Internet Explorer</title><link>http://blogs.msdn.com/joshuag/archive/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer.aspx#8120148</link><pubDate>Mon, 10 Mar 2008 03:51:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8120148</guid><dc:creator>GirlGeek101@gmail.com</dc:creator><description>&lt;p&gt;I find that the datasheet view is probamatic. &amp;nbsp;For instance I have a look up field in a table and it works fine in the normal NEW, EDIT and DISPLAY forms, but in datasheet view it gives that custom lookup field a prefix of string;# . &amp;nbsp;No one including guys I know at Microsoft know what causes this. &amp;nbsp;My team just puts up with it hoping it is a bug.&lt;/p&gt;</description></item><item><title>re: Sharepoint Edit in Datasheet locks or freezes Internet Explorer</title><link>http://blogs.msdn.com/joshuag/archive/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer.aspx#8717835</link><pubDate>Thu, 10 Jul 2008 20:44:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8717835</guid><dc:creator>shane</dc:creator><description>&lt;p&gt;Any other Ideas on how to fix this problem? I went through the custom style sheet and removed all margin calls, to no avail. I then set the page to use the default.master and included the custom style sheets on that and it worked fine, so I think it's actually the custom master and not the style sheet. Any thoughts on where to look for the problem? Thanks for your time!!!&lt;/p&gt;
</description></item><item><title>re: Sharepoint Edit in Datasheet locks or freezes Internet Explorer</title><link>http://blogs.msdn.com/joshuag/archive/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer.aspx#8867247</link><pubDate>Thu, 14 Aug 2008 19:29:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8867247</guid><dc:creator>Beatriz</dc:creator><description>&lt;p&gt;This should be one of the nicest features of SharePoint, it is very frustrating that it doesn't work. Instructions from Microsoft on how to fix this would be greatly appreciated&lt;/p&gt;
</description></item><item><title>re: Sharepoint Edit in Datasheet locks or freezes Internet Explorer</title><link>http://blogs.msdn.com/joshuag/archive/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer.aspx#8971923</link><pubDate>Wed, 01 Oct 2008 20:21:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8971923</guid><dc:creator>thomasagarcia@gmail.com</dc:creator><description>&lt;p&gt;Margins wasn't the problem for me, it was a Spacer I put in the Footer of my page.&lt;/p&gt;
&lt;p&gt;Original code on how to customize my page was off of the net www.msftliveblogs.com &amp;quot;Microsoft Office Sharepoint Server 2007 - Custom Chrome/Branding&amp;quot;&lt;/p&gt;
&lt;p&gt;Not Working Code&lt;/p&gt;
&lt;p&gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&amp;quot;my-spacer10&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&amp;quot;my-footer&amp;quot;&amp;gt;Copyright (C) 2008 &amp;nbsp; Perrigo Internal Communications&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&amp;quot;my-spacer10&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/p&gt;
&lt;p&gt;Working Code&lt;/p&gt;
&lt;p&gt;&amp;lt;tr&amp;gt;&amp;lt;td class=&amp;quot;my-footer&amp;quot;&amp;gt;Copyright (C) 2008 &amp;nbsp; Perrigo Internal Communications&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/p&gt;
&lt;p&gt;My-Spacer10 Class&lt;/p&gt;
&lt;p&gt;.my-spacer10&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;height: 10px;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
</description></item><item><title>re: Sharepoint Edit in Datasheet locks or freezes Internet Explorer</title><link>http://blogs.msdn.com/joshuag/archive/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer.aspx#9050539</link><pubDate>Fri, 07 Nov 2008 00:09:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9050539</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Thanks for the suggestion. Why on earth would the margin tag make a difference? And any thoughts on why some might experience this issue and not others?&lt;/p&gt;
</description></item><item><title>re: Sharepoint Edit in Datasheet locks or freezes Internet Explorer</title><link>http://blogs.msdn.com/joshuag/archive/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer.aspx#9395762</link><pubDate>Wed, 04 Feb 2009 17:21:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9395762</guid><dc:creator>Joel Hulen</dc:creator><description>&lt;p&gt;I found that there is a set of conditions that causes this lock-up:&lt;/p&gt;
&lt;p&gt;1. You are using a custom master page and have specified a DOCTYPE&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;The problem is NOT margin settings in your style sheet or page. Believe me, I have tested this thoroughly. The problem lies within the CORE.js file. I have applied the below fix and placed all my styles (including margin and size settings) back into my style sheets with no issues.&lt;/p&gt;
&lt;p&gt;So, what's causing this to happen? There is a javascript function (located in the core.js file) that gets called by the datasheet view control when activated (GCComputeSizing(GCObject)) that sizes the datasheet element according to the current window size. Specifically, the culprit was &amp;quot;var lGCWindowHeight=documentElement.scrollHeight&amp;quot;. This caused the scroll height for the page to go out of bounds. In quirks mode, IE includes the top &amp;amp; bottom borders within the padding widths when calculating the offsetHeight. Standards mode only defines the content height as the offsetHeight.&lt;/p&gt;
&lt;p&gt;To fix, I replaced the line:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;var lGCWindowHeight=document.documentElement.scrollHeight;&lt;/p&gt;
&lt;p&gt;with:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var lGCWindowHeight=(document.documentElement.scrollHeight&amp;gt;document.documentElement.clientHeight) ? &amp;nbsp;document.documentElement.clientHeight : document.documentElement.scrollHeight;&lt;/p&gt;
&lt;p&gt;This bounds the scroll height to the client height.&lt;/p&gt;
&lt;p&gt;I didn't want to modify the CORE.js file, so within my master page, I override the method. To do this, paste the following within your master page (I stuck mine at the bottom of the page):&lt;/p&gt;
&lt;p&gt;function GCComputeSizing(GCObject)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;	if (TestGCObject(GCObject))&lt;/p&gt;
&lt;p&gt;	{&lt;/p&gt;
&lt;p&gt;		var fBIDI=(document.documentElement.currentStyle.direction==&amp;quot;rtl&amp;quot;);&lt;/p&gt;
&lt;p&gt;		var lGCWindowWidth=document.documentElement.scrollWidth;&lt;/p&gt;
&lt;p&gt;		var lGCWindowHeight=(document.documentElement.scrollHeight&amp;gt;document.documentElement.clientHeight) ? document.documentElement.clientHeight : document.documentElement.scrollHeight;&lt;/p&gt;
&lt;p&gt;		var lGCObjectOffsetLeft=0;&lt;/p&gt;
&lt;p&gt;		var lGCObjectOffsetTop=0;&lt;/p&gt;
&lt;p&gt;		if (fBIDI)&lt;/p&gt;
&lt;p&gt;			{&lt;/p&gt;
&lt;p&gt;			lGCObjectOffsetLeft=-180;&lt;/p&gt;
&lt;p&gt;			lGCObjectOffsetTop=120;&lt;/p&gt;
&lt;p&gt;			}&lt;/p&gt;
&lt;p&gt;		else&lt;/p&gt;
&lt;p&gt;			{&lt;/p&gt;
&lt;p&gt;			lGCObjectOffsetLeft=32;&lt;/p&gt;
&lt;p&gt;			lGCObjectOffsetTop=-2;&lt;/p&gt;
&lt;p&gt;			}&lt;/p&gt;
&lt;p&gt;		var lGCObjectWalker=GCObject.parentElement;&lt;/p&gt;
&lt;p&gt;		while (lGCObjectWalker !=document.body)&lt;/p&gt;
&lt;p&gt;		{&lt;/p&gt;
&lt;p&gt;			lGCObjectOffsetLeft+=lGCObjectWalker.offsetLeft;&lt;/p&gt;
&lt;p&gt;			lGCObjectOffsetTop+=lGCObjectWalker.offsetTop;&lt;/p&gt;
&lt;p&gt;			lGCObjectWalker=lGCObjectWalker.offsetParent;&lt;/p&gt;
&lt;p&gt;			if (fBIDI)&lt;/p&gt;
&lt;p&gt;				if (lGCObjectWalker.offsetLeft &amp;gt; 0)&lt;/p&gt;
&lt;p&gt;					break;&lt;/p&gt;
&lt;p&gt;		}&lt;/p&gt;
&lt;p&gt;		lGCObjectOffsetLeft+=GCObject.parentElement.offsetLeft;&lt;/p&gt;
&lt;p&gt;		lGCObjectOffsetTop+=GCObject.parentElement.offsetTop;&lt;/p&gt;
&lt;p&gt;		glGCObjectHeight=lGCWindowHeight - lGCObjectOffsetTop;&lt;/p&gt;
&lt;p&gt;		if (glGCObjectHeight &amp;gt; lGCWindowHeight)&lt;/p&gt;
&lt;p&gt;			glGCObjectHeight=lGCWindowHeight&lt;/p&gt;
&lt;p&gt;		if (glGCObjectHeight &amp;lt; cGCMinimumHeight)&lt;/p&gt;
&lt;p&gt;			glGCObjectHeight=cGCMinimumHeight;&lt;/p&gt;
&lt;p&gt;		if (fBIDI)&lt;/p&gt;
&lt;p&gt;			{&lt;/p&gt;
&lt;p&gt;			glGCObjectWidth=lGCWindowWidth+lGCObjectOffsetLeft;&lt;/p&gt;
&lt;p&gt;			}&lt;/p&gt;
&lt;p&gt;		else&lt;/p&gt;
&lt;p&gt;			glGCObjectWidth=lGCWindowWidth - lGCObjectOffsetLeft;&lt;/p&gt;
&lt;p&gt;		if (glGCObjectWidth &amp;gt; lGCWindowWidth)&lt;/p&gt;
&lt;p&gt;				glGCObjectWidth=lGCWindowWidth;&lt;/p&gt;
&lt;p&gt;		if (glGCObjectWidth &amp;lt; cGCMinimumWidth)&lt;/p&gt;
&lt;p&gt;			glGCObjectWidth=cGCMinimumWidth;&lt;/p&gt;
&lt;p&gt;	}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
</description></item><item><title>re: Sharepoint Edit in Datasheet locks or freezes Internet Explorer</title><link>http://blogs.msdn.com/joshuag/archive/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer.aspx#9395770</link><pubDate>Wed, 04 Feb 2009 17:25:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9395770</guid><dc:creator>Joel Hulen</dc:creator><description>&lt;p&gt;BTW, I'd like to give credit to this blog post for finding the fix: &lt;a rel="nofollow" target="_new" href="http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/"&gt;http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Sharepoint Edit in Datasheet locks or freezes Internet Explorer</title><link>http://blogs.msdn.com/joshuag/archive/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer.aspx#9925370</link><pubDate>Thu, 19 Nov 2009 13:21:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9925370</guid><dc:creator>frank3nst31n</dc:creator><description>&lt;p&gt;Thanks for the suggestion, removing the doctype worked like a charm&lt;/p&gt;
</description></item></channel></rss>