<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2194990727292214402</id><updated>2012-01-27T23:58:43.691-05:00</updated><category term='Outlook 2007'/><category term='Excel Services'/><category term='SharePoint 2007'/><category term='VM'/><category term='InfoPath Forms Services 2007'/><category term='SharePoint 2010'/><category term='Sql 2008 Express'/><category term='BDC'/><category term='SPD Workflows'/><category term='.NET'/><category term='SSRS'/><title type='text'>Yanling's Blog</title><subtitle type='html'>Real World SharePoint and Related Stuff....when I have time to post....</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>54</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-375392448895445293</id><published>2011-12-14T16:28:00.001-05:00</published><updated>2011-12-14T16:28:22.445-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>Toggle Ribbon with JQuery</title><content type='html'>To toggle 2010's ribbon neat and short:&lt;br /&gt;&lt;br /&gt;Reference JQuery:&lt;br /&gt;&amp;lt;script src="/sites/inet/_js/jquery-1.4.4.min.js" type="text/ecmascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;Put this either in a separate .js and reference the js file:&lt;br /&gt;$(document).ready(function(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#s4-ribbonrow').hide();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#toggleribbon').click(function() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#s4-ribbonrow').toggle();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;br /&gt;&amp;nbsp;});&lt;br /&gt;&lt;br /&gt;Put this some where.&amp;nbsp; This is what you will click to toggle the ribbon:&lt;br /&gt;&amp;lt;img id="toggleribbon" src="/../../images/imgToggle.jpg"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-375392448895445293?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/375392448895445293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=375392448895445293' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/375392448895445293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/375392448895445293'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/12/toggle-ribbon-with-jquery.html' title='Toggle Ribbon with JQuery'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-2087087822233294894</id><published>2011-11-23T11:42:00.001-05:00</published><updated>2011-11-23T11:47:19.879-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Custom form did not stick to list</title><content type='html'>A site owner customized a new form for a list.&amp;nbsp; He then went into SharePoint Designer and went to list properties to set the form as the 'new item form'.&amp;nbsp; When he clicked OK, the setting did not seem to be saved and reverted back to the original newform.aspx.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;Solution: Under 'List Properties' -&amp;gt; 'Supporting Files' (4th tab),&amp;nbsp; make sure the second drop down 'Content type specific forms' is set to 'item', then go and select the new customized form:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-V-9XwylOiqY/Ts0jgVIguUI/AAAAAAAAAls/u4AVabOS0tM/s1600/listprop.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" hda="true" height="304" src="http://3.bp.blogspot.com/-V-9XwylOiqY/Ts0jgVIguUI/AAAAAAAAAls/u4AVabOS0tM/s320/listprop.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-2087087822233294894?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/2087087822233294894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=2087087822233294894' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/2087087822233294894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/2087087822233294894'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/11/custom-form-did-not-stick-to-list.html' title='Custom form did not stick to list'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-V-9XwylOiqY/Ts0jgVIguUI/AAAAAAAAAls/u4AVabOS0tM/s72-c/listprop.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-8356667275123928162</id><published>2011-11-16T14:39:00.001-05:00</published><updated>2011-11-16T15:11:01.442-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql 2008 Express'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>Cannot connect to sql express 2008, server doesn't support requested protocol</title><content type='html'>Got the following error: &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-PV0lDvpKaps/TsQW_bp3z1I/AAAAAAAAAlI/IkPoqLdkyRY/s1600/sqlerror.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" hda="true" height="103" src="http://4.bp.blogspot.com/-PV0lDvpKaps/TsQW_bp3z1I/AAAAAAAAAlI/IkPoqLdkyRY/s320/sqlerror.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Need to enable TCP/IP on Sql Server Configuration Manager:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-kRlZLJ4baqE/TsQXClZue1I/AAAAAAAAAlg/NV41XDp1a8I/s1600/tcpenable.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" hda="true" height="194" src="http://2.bp.blogspot.com/-kRlZLJ4baqE/TsQXClZue1I/AAAAAAAAAlg/NV41XDp1a8I/s320/tcpenable.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Once TCP/IP is enabled, restart the SQL Instance:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-TH7i7v22plE/TsQXBHc9qgI/AAAAAAAAAlQ/G3BxxfeHD4Y/s1600/restartserviceinstance.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" hda="true" height="61" src="http://4.bp.blogspot.com/-TH7i7v22plE/TsQXBHc9qgI/AAAAAAAAAlQ/G3BxxfeHD4Y/s320/restartserviceinstance.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Now connecting from VS 2010 works.&amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-8356667275123928162?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/8356667275123928162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=8356667275123928162' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8356667275123928162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8356667275123928162'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/11/cannot-connect-to-sql-express-2008.html' title='Cannot connect to sql express 2008, server doesn&apos;t support requested protocol'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-PV0lDvpKaps/TsQW_bp3z1I/AAAAAAAAAlI/IkPoqLdkyRY/s72-c/sqlerror.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-8552163210366246979</id><published>2011-11-14T16:00:00.001-05:00</published><updated>2011-11-14T16:02:22.782-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>Hide left nav</title><content type='html'>Hiding the left nav:&lt;br /&gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;$(document).ready(function(){&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$("#s4-leftpanel").addClass("hide");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$("#MSO_ContentTable").css("margin-left", "-10px");&amp;nbsp; //adjust for the margin&lt;br /&gt;&amp;nbsp;});&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;The css: &lt;br /&gt;.hide{&lt;br /&gt;&amp;nbsp;display:none;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-8552163210366246979?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/8552163210366246979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=8552163210366246979' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8552163210366246979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8552163210366246979'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/11/hide-left-nav.html' title='Hide left nav'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-3656279174344822756</id><published>2011-11-02T15:08:00.005-04:00</published><updated>2011-11-02T15:09:06.999-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>Add Left Nav to new page</title><content type='html'>1. Open the page in SharePoint Designer 2010. &lt;br /&gt;&lt;br /&gt;2. Go to the 'style' tab in the ribbon, on the 'master page' section, click on 'Attach' and attach the custom (or default) master page: &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-OsIN4g40d1A/TrGUrMpp3rI/AAAAAAAAAkA/cyA0iBx8JQ8/s1600/image001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="158" ida="true" src="http://4.bp.blogspot.com/-OsIN4g40d1A/TrGUrMpp3rI/AAAAAAAAAkA/cyA0iBx8JQ8/s320/image001.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;3. Afterwards, you should see something like this: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-npE3l_JRjTg/TrGUys5M4gI/AAAAAAAAAkI/nY_tcytCNVU/s1600/image004.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="55" ida="true" src="http://4.bp.blogspot.com/-npE3l_JRjTg/TrGUys5M4gI/AAAAAAAAAkI/nY_tcytCNVU/s320/image004.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp; The place holder for left nav:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-tYZmzXpp-fk/TrGU0AGlRZI/AAAAAAAAAkQ/PJBzFrv6_Hg/s1600/image006.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="104" ida="true" src="http://4.bp.blogspot.com/-tYZmzXpp-fk/TrGU0AGlRZI/AAAAAAAAAkQ/PJBzFrv6_Hg/s320/image006.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;﻿&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;4.&amp;nbsp; Select the PlaceHolderleftNavBar, click on the arrow and select 'Default to Master's content'.&amp;nbsp; The page should now show the left nav: &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-IdDY4hhQ2ZI/TrGU1dDqy1I/AAAAAAAAAkY/LKxI4aHniHk/s1600/image008.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="128" ida="true" src="http://1.bp.blogspot.com/-IdDY4hhQ2ZI/TrGU1dDqy1I/AAAAAAAAAkY/LKxI4aHniHk/s320/image008.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-3656279174344822756?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/3656279174344822756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=3656279174344822756' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/3656279174344822756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/3656279174344822756'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/11/add-left-nav-to-new-page.html' title='Add Left Nav to new page'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-OsIN4g40d1A/TrGUrMpp3rI/AAAAAAAAAkA/cyA0iBx8JQ8/s72-c/image001.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-3232009845537631127</id><published>2011-10-18T10:54:00.002-04:00</published><updated>2012-01-18T14:39:03.471-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>SharePoint 2010 branding: webpart</title><content type='html'>A really nice article on rounding corners for the webpart:&lt;br /&gt;&lt;a href="https://www.nothingbutsharepoint.com/sites/eusp/Pages/web-part-style-in-sharepoint-2010.aspx"&gt;https://www.nothingbutsharepoint.com/sites/eusp/Pages/web-part-style-in-sharepoint-2010.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-3232009845537631127?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/3232009845537631127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=3232009845537631127' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/3232009845537631127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/3232009845537631127'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/10/sharepoing-2010-branding-webpart.html' title='SharePoint 2010 branding: webpart'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-8400872838896599221</id><published>2011-10-18T09:20:00.000-04:00</published><updated>2012-01-18T14:38:54.704-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>SharePoint 2010 branding: keep title area visible</title><content type='html'>To keep the title area visible when clicking on the ribbon commands, modify #s4-titlerow in the css to:&lt;br /&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code"&gt;&lt;div class="container"&gt;&lt;div class="line number1 index0 alt2"&gt;&lt;span style="color: blue;"&gt;&lt;code class="css plain"&gt;#s&lt;/code&gt;&lt;code class="css value"&gt;4&lt;/code&gt;&lt;code class="css plain"&gt;-titlerow {&amp;nbsp; &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="line number2 index1 alt1"&gt;&lt;span style="color: blue;"&gt;&lt;code class="css spaces"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class="css keyword"&gt;&lt;strong&gt;display&lt;/strong&gt;&lt;/code&gt;&lt;code class="css plain"&gt;: &lt;/code&gt;&lt;code class="css value"&gt;block&lt;/code&gt; &lt;code class="css color3"&gt;!important&lt;/code&gt;&lt;code class="css plain"&gt;;&amp;nbsp; &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="line number3 index2 alt2"&gt;&lt;code class="css plain"&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-8400872838896599221?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/8400872838896599221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=8400872838896599221' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8400872838896599221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8400872838896599221'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/10/sharepoing-2010-branding-keep-title.html' title='SharePoint 2010 branding: keep title area visible'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-4172942497094663110</id><published>2011-10-17T16:17:00.001-04:00</published><updated>2012-01-21T22:41:36.465-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>SharePoint 2010 branding: left nav accordion, highlight location</title><content type='html'>Collapse/expandable left nav:&lt;br /&gt;$(document).ready(function() {&lt;br /&gt;&amp;nbsp;$("#s4-leftpanel-content ul.root&amp;gt;li.static").css("border-bottom","1px Solid #eaeaea");&lt;br /&gt;&lt;br /&gt;&amp;nbsp;$("div.s4-ql div.menu-vertical &amp;gt; ul.root &amp;gt; li.static &amp;gt;a").each(function()&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Does this have children UL elements&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if($(this).parent().children("ul").size() &amp;gt; 0){&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//initial load hide &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$("&amp;gt;ul", $(this).parent()).hide();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$($(this).parent()).addClass("cssClosed");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$("div.menu-vertical&amp;gt;ul.root&amp;gt;li.static&amp;gt;ul.static&amp;gt;li.selected").parent().css("display", "block");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$("div.menu-vertical&amp;gt;ul.root&amp;gt;li.static&amp;gt;ul.static&amp;gt;li.selected").parent().parent().addClass("cssOpen");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//add toggle&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$(this).toggle(function() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$("&amp;gt;ul", $(this).parent()).show("slow");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$($(this).parent()).removeClass("cssClosed");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$($(this).parent()).addClass("cssOpen");&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$("&amp;gt;ul", $(this).parent()).hide("slow");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$($(this).parent()).removeClass("cssOpen");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$($(this).parent()).addClass("cssClosed");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp; });&lt;br /&gt;&lt;br /&gt;}); &lt;br /&gt;&lt;br /&gt;The css:&lt;br /&gt;.cssClosed {&lt;br /&gt;&amp;nbsp;background:url('/_layouts/images/Menu-right.gif') no-repeat 160px 7px;&lt;br /&gt;}&lt;br /&gt;.cssOpen{&lt;br /&gt;&amp;nbsp;background:url('/_layouts/images/Menu2.gif') no-repeat 150px 7px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The result (closed): &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-ZjBVe5jBWss/TsGDr7j5-NI/AAAAAAAAAko/ZK2K3Ae_Fww/s1600/closed.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" nda="true" src="http://2.bp.blogspot.com/-ZjBVe5jBWss/TsGDr7j5-NI/AAAAAAAAAko/ZK2K3Ae_Fww/s1600/closed.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border: currentColor;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border: currentColor;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border: currentColor;"&gt;The result (opened):&lt;/div&gt;&lt;div style="border: currentColor;"&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-6jLPqby1H6g/TsGFXCDlvEI/AAAAAAAAAk4/PNikNXKxKQs/s1600/opened.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" nda="true" src="http://3.bp.blogspot.com/-6jLPqby1H6g/TsGFXCDlvEI/AAAAAAAAAk4/PNikNXKxKQs/s1600/opened.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border: currentColor;"&gt;&lt;div style="border: currentColor;"&gt;Result selected:&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-kdva0zn3E54/TsGFaUm1PuI/AAAAAAAAAlA/z36Q6sw-yVo/s1600/selected.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" nda="true" src="http://3.bp.blogspot.com/-kdva0zn3E54/TsGFaUm1PuI/AAAAAAAAAlA/z36Q6sw-yVo/s1600/selected.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="border: currentColor; clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-LPclQDFlc5g/TsGDs_nMSXI/AAAAAAAAAkw/00tfIqKe_9U/s1600/selected.PNG" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-4172942497094663110?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/4172942497094663110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=4172942497094663110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4172942497094663110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4172942497094663110'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/10/sharepoint-2010-branding-left-nav.html' title='SharePoint 2010 branding: left nav accordion, highlight location'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-ZjBVe5jBWss/TsGDr7j5-NI/AAAAAAAAAko/ZK2K3Ae_Fww/s72-c/closed.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-7449032657195345951</id><published>2011-10-17T15:28:00.000-04:00</published><updated>2012-01-18T14:39:16.917-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>SharePoint 2010 branding: left nav 2</title><content type='html'>From:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-KyEtMcefed0/TpyBgqP_HYI/AAAAAAAAAjk/TKv73Kj08qU/s1600/leftnav2a.PNG" imageanchor="1"&gt;&lt;img border="0" height="144" src="http://4.bp.blogspot.com/-KyEtMcefed0/TpyBgqP_HYI/AAAAAAAAAjk/TKv73Kj08qU/s400/leftnav2a.PNG" width="190" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;to:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-jc989VvkWuo/TpyByGSQ2lI/AAAAAAAAAjs/G2fCaoKpvNM/s1600/leftnav2b.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" oda="true" src="http://4.bp.blogspot.com/-jc989VvkWuo/TpyByGSQ2lI/AAAAAAAAAjs/G2fCaoKpvNM/s1600/leftnav2b.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Css modification:&lt;br /&gt;Modify:&lt;br /&gt;.s4-ql,.s4-specialNavLinkList{&lt;br /&gt;list-style-type:none;&lt;br /&gt;margin:0px 0px 20px 0px;&lt;br /&gt;padding:0px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;to:.s4-ql,.s4-specialNavLinkList{&lt;br /&gt;list-style-type:none;&lt;br /&gt;margin:0px 0px 5px 0px; /*space between recycle bin and lists*/&lt;br /&gt;padding:0px;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-7449032657195345951?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/7449032657195345951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=7449032657195345951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7449032657195345951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7449032657195345951'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/10/sharepoing-2010-branding-left-nav-2.html' title='SharePoint 2010 branding: left nav 2'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-KyEtMcefed0/TpyBgqP_HYI/AAAAAAAAAjk/TKv73Kj08qU/s72-c/leftnav2a.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-8833231577825523763</id><published>2011-10-17T15:18:00.000-04:00</published><updated>2011-11-02T15:10:42.445-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>SharePoint branding: left nav</title><content type='html'>To minimize the space between the left nav headings and the below links, update this style:&lt;br /&gt;&lt;br /&gt;.s4-ql ul.root ul{&lt;br /&gt;margin:0px 0px 20px 0px;&lt;br /&gt;padding-left:0px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;to &lt;br /&gt;&lt;br /&gt;.s4-ql ul.root ul{&lt;br /&gt;margin:0px 0px 0px 0px; &lt;br /&gt;padding-left:0px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Page will change from:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-CtzW86FTJ2U/Tpx_SXxpmCI/AAAAAAAAAjM/OB3FKo4iD8s/s1600/leftnav1.PNG" imageanchor="1"&gt;&lt;img border="0" height="121" src="http://1.bp.blogspot.com/-CtzW86FTJ2U/Tpx_SXxpmCI/AAAAAAAAAjM/OB3FKo4iD8s/s400/leftnav1.PNG" width="179" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;to &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-aInwL0foJzY/Tpx_mGe1t9I/AAAAAAAAAjY/IOBNDXigjH0/s1600/leftnav1b.PNG" imageanchor="1"&gt;&lt;img border="0" height="95" src="http://4.bp.blogspot.com/-aInwL0foJzY/Tpx_mGe1t9I/AAAAAAAAAjY/IOBNDXigjH0/s400/leftnav1b.PNG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-8833231577825523763?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/8833231577825523763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=8833231577825523763' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8833231577825523763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8833231577825523763'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/10/sharepoint-branding-left-nav.html' title='SharePoint branding: left nav'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-CtzW86FTJ2U/Tpx_SXxpmCI/AAAAAAAAAjM/OB3FKo4iD8s/s72-c/leftnav1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-4742175353240888111</id><published>2011-10-12T15:24:00.000-04:00</published><updated>2011-10-12T15:24:40.236-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>SharePoint 2010 customization: trouble getting rid of right border</title><content type='html'>After the page is being centered, it leaves a right border at 100% width on this element:&lt;br /&gt;div id="s4-bodyContainer"&lt;br /&gt;&lt;br /&gt;After much digging and somehow removing this style:&lt;br /&gt;body #s4-workspace{&lt;br /&gt;overflow-y:scroll;&lt;br /&gt;overflow-x:auto;&lt;br /&gt;position:relative;&lt;br /&gt;left:0px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;html inspector will show: &lt;br /&gt;div class="s4-pr s4-notdlg s4-titlerowhidetitle ms-titlerowborder" id="s4-titlerow" style="width: 1595px;"&lt;br /&gt;&lt;br /&gt;note: the ms-titlerowborder was not showing before.&lt;br /&gt;&lt;br /&gt;go to ms-titlerowborder in the stylesheet, remove the right border and viola! No more right border hanging by itself!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-4742175353240888111?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/4742175353240888111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=4742175353240888111' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4742175353240888111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4742175353240888111'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/10/sharepoint-2010-customization-trouble.html' title='SharePoint 2010 customization: trouble getting rid of right border'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-577050161761384753</id><published>2011-10-05T14:21:00.000-04:00</published><updated>2011-11-02T15:10:59.247-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>changes in the masterpage didn't show</title><content type='html'>Site owner reported that she was not able to get rid of the site title. She doesn't see the title, but others are still seeing it. &lt;br /&gt;&lt;br /&gt;Solution: It happened that the default.master page was also keeping minor versions. Go to the master page gallery and publish a major version so the changes will show for all users.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-577050161761384753?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/577050161761384753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=577050161761384753' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/577050161761384753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/577050161761384753'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/10/changes-in-masterpage-didnt-show.html' title='changes in the masterpage didn&apos;t show'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-8177033406332677755</id><published>2011-05-19T15:02:00.003-04:00</published><updated>2011-11-02T15:11:14.382-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Separating radio button selections into another row in SharePoint</title><content type='html'>Came across an interesting problem when an user requirement is to separate the radio buttons into two different rows in a form. Plus attaching some click events to both selections. It took me about 15 mins or so to figure out but I thought it was interesting. SharePoint renders the radio buttons together as something like this: &lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;SharePoint:FormField runat="server" id="ff2{$Pos}" controlmode="New" fieldname="No_x0020_Knowledge" __designer:bind="{ddwrt:DataBind('i',concat('ff2',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@No_x0020_Knowledge')}" /&amp;gt;&lt;/blockquote&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-roYpv30t-8c/TdVoZ8SWVUI/AAAAAAAAAgc/PjaDwEzkvMM/s1600/before.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="95" src="http://1.bp.blogspot.com/-roYpv30t-8c/TdVoZ8SWVUI/AAAAAAAAAgc/PjaDwEzkvMM/s400/before.gif" width="69" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;You can't simply move one as you would if you are using html. Thankfully, a little jQuery and a little css comes to the rescue. The solution is actually a real simple one. BTW, I did tried using just jQuery to move the the 2nd radio button down but the attached click event was lost somehow. &lt;br /&gt;&lt;br /&gt;On to the solution. If you have a field with selections 'A' and 'B', you want to move 'B' to the next row, the jQuery line: &lt;br /&gt;&lt;blockquote&gt;$("span[title='B']").addClass('positionB');&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;of course the css:&lt;br /&gt;&lt;blockquote&gt;.positionB{&lt;br /&gt;position:absolute;&lt;br /&gt;left:23;&lt;br /&gt;top:355;&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;The after effect: &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-mNATPkBD8qw/TdVo5FuHNtI/AAAAAAAAAgk/Tf_drxi82Kw/s1600/after.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="198" src="http://3.bp.blogspot.com/-mNATPkBD8qw/TdVo5FuHNtI/AAAAAAAAAgk/Tf_drxi82Kw/s400/after.gif" width="68" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The attached events for each radio button also worked. You would need to update the left and top positions to fit your needs though.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-8177033406332677755?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/8177033406332677755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=8177033406332677755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8177033406332677755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8177033406332677755'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/05/separating-radio-button-selections-into.html' title='Separating radio button selections into another row in SharePoint'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-roYpv30t-8c/TdVoZ8SWVUI/AAAAAAAAAgc/PjaDwEzkvMM/s72-c/before.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-1544199509888419685</id><published>2011-02-28T13:37:00.003-05:00</published><updated>2011-02-28T13:39:33.644-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>access denied when clicking on an item with read access</title><content type='html'>Problem: In SharePoint 2007, user sees a list on the home page, the list of items are pull from an ordinary list.  User clicks on any item on that list and gets access denied.  Checked that authenticated users indeed have read access.&lt;br /&gt;&lt;br /&gt;Solution: In the permission level, checked the 'read' permission, make sure the 'view application pages' is checked.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-1544199509888419685?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/1544199509888419685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=1544199509888419685' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/1544199509888419685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/1544199509888419685'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/02/access-denied-when-clicking-on-item.html' title='access denied when clicking on an item with read access'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-3813457580906275043</id><published>2011-02-08T14:45:00.003-05:00</published><updated>2011-11-14T16:39:25.796-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel Services'/><title type='text'>User get access denied with Excel services</title><content type='html'>Even though trusted location was setup in excel services, with the trust children checked.&lt;br /&gt;&lt;br /&gt;Turns out the there is a difference between &lt;a href="http://url/"&gt;http://url/&lt;/a&gt;&lt;servername&gt; and &lt;a href="http://url.com/"&gt;http://url.com/&lt;/a&gt;&lt;domain&gt; etc. Trusted location has to be config with both.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-3813457580906275043?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/3813457580906275043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=3813457580906275043' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/3813457580906275043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/3813457580906275043'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/02/user-get-access-denied-with-excel.html' title='User get access denied with Excel services'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-425158971887943302</id><published>2011-01-13T09:45:00.002-05:00</published><updated>2011-11-14T16:20:19.835-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>problem: multi text fields don't align on newform</title><content type='html'>Solution: on list settings, reset the number of lines on one/both fields to another number.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-425158971887943302?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/425158971887943302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=425158971887943302' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/425158971887943302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/425158971887943302'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2011/01/problem-multi-text-fields-dont-align-on.html' title='problem: multi text fields don&apos;t align on newform'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-4791780635603055322</id><published>2010-10-18T09:40:00.001-04:00</published><updated>2011-11-14T16:22:25.185-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Update topnav "home" tab to contain default.aspx</title><content type='html'>&lt;div&gt;go to all site settings and update the welcome page to contain default.aspx. view source will show that the site now has home tab as /sites/test/default.aspx.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-4791780635603055322?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/4791780635603055322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=4791780635603055322' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4791780635603055322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4791780635603055322'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2010/10/update-topnav-home-tab-to-contain.html' title='Update topnav &quot;home&quot; tab to contain default.aspx'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-8474198808118372804</id><published>2010-06-17T11:30:00.001-04:00</published><updated>2011-11-14T16:41:29.503-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>SharePoint local breadcrumb not showing</title><content type='html'>Problem: using the same master page, the local breadcrumb shows on some pages but not other sites/pages.&lt;br /&gt;&lt;br /&gt;Upon digging, the no breadcrumb pages are in a folder instead of a doc library. Moving those pages to a doc lib and problem was solved.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-8474198808118372804?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/8474198808118372804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=8474198808118372804' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8474198808118372804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8474198808118372804'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2010/06/sharepoint-local-breadcrumb-not-showing.html' title='SharePoint local breadcrumb not showing'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-1692144132812749896</id><published>2010-04-01T09:25:00.002-04:00</published><updated>2011-11-14T16:21:58.378-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Breadcrumb shows wrong url for a list</title><content type='html'>Came across this problem when i went in the list settings, the url on the breadcrumb shows the url of the web app instead of the url to the list itself. &lt;br /&gt;&lt;br /&gt;Solution: it turns out on the list properties, it's missing the default view page. Go to SharePoint Designer, right click on the list to bring up the properties, under 'Supporting Files' tab, select the 'default view page'.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-1692144132812749896?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/1692144132812749896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=1692144132812749896' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/1692144132812749896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/1692144132812749896'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2010/04/breadcrumb-shows-wrong-url-for-list.html' title='Breadcrumb shows wrong url for a list'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-6426464928744317284</id><published>2010-02-12T16:13:00.003-05:00</published><updated>2011-11-14T16:57:08.321-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SPD Workflows'/><title type='text'>Workflow showed 'stopped' for some users</title><content type='html'>I have a SPD workflow with a lookup to assigned to groups. The workflow will send send an email to the group and assign tasks to the gorup etc. For some users (all site col admins, WF runs w/o problems). For normal contributors, the workflow shows stopped after entering a record. &lt;br /&gt;&lt;br /&gt;Solution: This is permission related. The user has to be able to see the group memberships. Go to 'site settings' -&amp;gt; 'People and Groups', go to each group and go to Group Settings to switch the 'Who can view the membership of the group?' to Everyone. The workflow will start the next time you enter a record.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-6426464928744317284?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/6426464928744317284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=6426464928744317284' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6426464928744317284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6426464928744317284'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2010/02/workflow-showed-stopped-for-some-users.html' title='Workflow showed &apos;stopped&apos; for some users'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-924544538793588332</id><published>2010-02-08T14:12:00.018-05:00</published><updated>2011-11-14T16:41:46.356-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Filter between two dates using the DataView and jQuery</title><content type='html'>This is the second round of filtering between dates in a SharePoint DataView. With this version, you do not need to be using the filters from the Enterprise version. (I am using the Standard version for now so was forced to get this working....)&lt;br /&gt;&lt;br /&gt;Step by Step Instructions:&lt;br /&gt;1. Using SPD, create an asp.net page. Add in the web part to be filtered to the page.&lt;a href="http://2.bp.blogspot.com/_VdadiNyDboM/S3Bi0w5w_qI/AAAAAAAAARE/rlkkfdLkfIE/s1600-h/image002.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5435955307390579442" src="http://2.bp.blogspot.com/_VdadiNyDboM/S3BkjRfqMvI/AAAAAAAAARs/3zw5FwmZuu8/s400/image002.jpg" style="cursor: hand; display: block; height: 289px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;br /&gt;2. Add 4 asp.net controls. I named them txtDate1, txtDate2 and alttxtDate1, alttxtDate2. Feel free to choose your own. Note: thanks to the views below, the txtDate1 and txtDate2 asp.net textboxes have to have the AutoPostBack attribute set to true. We will hide the latter two. (Now the reason for the latter two fields: After some digging, the filter takes the dates formatted as yy-mm-dd. We are in the US so we don’t want to display the date like this. Thus the use of alternate fields to pass in for processing, but display we’ll see the good display. &amp;gt;.&amp;lt; ) &lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5435955728040554146" src="http://1.bp.blogspot.com/_VdadiNyDboM/S3Bk7wibbqI/AAAAAAAAAR8/GF6rq_ly9wg/s400/image004.jpg" style="cursor: hand; display: block; height: 346px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;&lt;span style="font-size: 85%;"&gt;From Date:&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:TextBox runat="server" AutoPostBack="true" id="txtDate1" CssClass="right"&amp;gt;&lt;br /&gt;&amp;lt;/asp:TextBox&amp;gt;&lt;br /&gt;&amp;lt;asp:TextBox runat="server" id="alttxtDate1" CssClass="invis"/&amp;gt;&lt;br /&gt;&lt;br /&gt;To Date:&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:TextBox runat="server" id="txtDate2" AutoPostBack="True" CssClass="right"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:TextBox runat="server" id="alttxtDate2" CssClass="invis"/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. Select the WebPart and convert it to XSLT dataview. We will filter using the two dates on the dataview.&lt;br /&gt;&lt;br /&gt;4. Setup the dataview parameters:&lt;br /&gt;&lt;br /&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5435959293561559970" src="http://4.bp.blogspot.com/_VdadiNyDboM/S3BoLTI4W6I/AAAAAAAAASE/IwdxpS4fJ5s/s400/image006.jpg" style="cursor: hand; display: block; height: 271px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;br /&gt;&lt;br /&gt;5. Setup the filter on the DataView using the parameters from step 4:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_VdadiNyDboM/S3Bi9LojtUI/AAAAAAAAARc/hoOl-MIp5N4/s1600-h/image008.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5435953553470633282" src="http://2.bp.blogspot.com/_VdadiNyDboM/S3Bi9LojtUI/AAAAAAAAARc/hoOl-MIp5N4/s400/image008.jpg" style="cursor: hand; height: 242px; margin: 0px 10px 10px 0px; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6. Add the jquery stuff to make it work:&lt;br /&gt;&lt;span style="font-size: 78%;"&gt;&amp;lt;link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/ui-lightness/jquery-ui.css"&lt;br /&gt;type="text/css" media="all" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;&lt;br /&gt;if(typeof jQuery=='undefined'){&lt;br /&gt;&lt;br /&gt;var jQPath="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/";&lt;br /&gt;&lt;br /&gt;document.write('&amp;lt;script src="',jQPath,'jquery.min.js" type="text/javascript"&amp;gt;&amp;lt;\/script&amp;gt;');&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SCRIPT type=text/javascript&amp;gt;&lt;br /&gt;&lt;br /&gt;$(function() {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$("#txtDate1").datepicker({altField: '#alttxtDate1', altFormat: 'yy-mm-dd'});&lt;br /&gt;&lt;br /&gt;$("#txtDate2").datepicker({altField: '#alttxtDate2', altFormat: 'yy-mm-dd'});&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 78%;"&gt;&amp;lt;/SCRIPT&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;7. Result:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_VdadiNyDboM/S3Bi_vGvirI/AAAAAAAAARk/mHFD9s2q_Ds/s1600-h/image010.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5435953597352217266" src="http://4.bp.blogspot.com/_VdadiNyDboM/S3Bi_vGvirI/AAAAAAAAARk/mHFD9s2q_Ds/s400/image010.jpg" style="cursor: hand; height: 255px; margin: 0px 10px 10px 0px; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8. Of course, hide the latter two alt controls:&lt;br /&gt;&amp;lt;style type="text/css"&amp;gt;&lt;br /&gt;&lt;br /&gt;.invis{&lt;br /&gt;&lt;br /&gt;visibility:hidden;&lt;br /&gt;&lt;br /&gt;width:30px;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&lt;br /&gt;and....Done! &lt;br /&gt;&lt;br /&gt;Note: this could be extended to more filters. Just modify the DataView filters criteria....&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-924544538793588332?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/924544538793588332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=924544538793588332' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/924544538793588332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/924544538793588332'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2010/02/filter-between-two-dates-using-dataview.html' title='Filter between two dates using the DataView and jQuery'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_VdadiNyDboM/S3BkjRfqMvI/AAAAAAAAARs/3zw5FwmZuu8/s72-c/image002.jpg' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-3308000284855853354</id><published>2009-08-14T16:10:00.002-04:00</published><updated>2011-11-14T16:42:33.737-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath Forms Services 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>infopath form quick note</title><content type='html'>Note: When a form has a dropdown from a reference list in SharePoint, changing the values of the reference list does NOT change the selected values in the existing forms....which is an excellent thing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-3308000284855853354?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/3308000284855853354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=3308000284855853354' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/3308000284855853354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/3308000284855853354'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2009/08/infopath-form-quick-note.html' title='infopath form quick note'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-6476046124146482410</id><published>2009-08-14T15:56:00.002-04:00</published><updated>2011-11-14T16:50:46.882-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SSRS'/><title type='text'>SSRS integration with MOSS notes</title><content type='html'>Some quick notes on integrating SSRS with MOSS. Using Sql 2005 SP2.&lt;br /&gt;&lt;br /&gt;1. Configure Report Services BEFORE installing the add-in.&lt;br /&gt;2. Must use the Reporting Services Configuration tool in Sql to configure the virtual directory. DO NOT use IIS. &lt;br /&gt;3. If don't see the Reporting Services section in CA after installing the add-in, check and see if the Reporting Services site collection feature is enabled in the CA. Must login as a site collection admin for the CA to see this section.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-6476046124146482410?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/6476046124146482410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=6476046124146482410' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6476046124146482410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6476046124146482410'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2009/08/ssrs-integration-with-moss-notes.html' title='SSRS integration with MOSS notes'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-7484769137195467155</id><published>2009-04-30T14:45:00.002-04:00</published><updated>2011-11-14T16:38:01.140-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Cannot delete content type from list</title><content type='html'>Problem:  Added in a content type to a list and it's not letting me delete it.  Says content type in use.  &lt;br /&gt;&lt;br /&gt;Soln:  Modify the view of the list and see which item is using the content type.  (Check the 'content type' column to have it in the view.)  Then change the content type to some other one (perhaps 'Document').  After all the items are changed to a different content type, you can then delete the one that says in use.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-7484769137195467155?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/7484769137195467155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=7484769137195467155' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7484769137195467155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7484769137195467155'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2009/04/cannot-delete-content-type-from-list.html' title='Cannot delete content type from list'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-6255621430442520364</id><published>2009-04-03T10:40:00.003-04:00</published><updated>2011-11-14T16:38:01.131-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Alerts setup findings</title><content type='html'>For users to see their own alerts on "My Settings", they must have at least READ access.&lt;br /&gt;&lt;br /&gt;With READ access, they see the "alert me", but when they click on "alert me", it gives "access denied".&lt;br /&gt;&lt;br /&gt;With anonymous access turned on, everyone can read.  However, if user is not in read access category, user will NOT get the alert.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-6255621430442520364?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/6255621430442520364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=6255621430442520364' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6255621430442520364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6255621430442520364'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2009/04/alerts-setup-findings.html' title='Alerts setup findings'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-7456138325702594284</id><published>2009-03-24T09:57:00.003-04:00</published><updated>2011-11-14T16:50:03.250-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath Forms Services 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Generate Unique ID for InfoPath form</title><content type='html'>We are going to generate a Unique ID for each InfoPath form using a SharePoint list. We will then use this ID as the unique filename. &lt;br /&gt;1. Create a SharePoint list with a key column:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_VdadiNyDboM/Scj7NOrhffI/AAAAAAAAANM/XoOGFG8rqEU/s1600-h/id.png"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5316775564808388082" src="http://4.bp.blogspot.com/_VdadiNyDboM/Scj7NOrhffI/AAAAAAAAANM/XoOGFG8rqEU/s400/id.png" style="cursor: hand; float: left; height: 104px; margin: 0px 10px 10px 0px; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Each time we load the InfoPath form, we will grab the key and then increment the key by 1:&lt;br /&gt;XPathNavigator xNav = MainDataSource.CreateNavigator();&lt;br /&gt;&lt;br /&gt;XPathNavigator nodeTermid = xNav.SelectSingleNode("my:myFields/my:TermID", &lt;br /&gt;NamespaceManager);&lt;br /&gt;&lt;br /&gt;if (nodeTermid.InnerXml == "0")&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;string termid = getTermID();&lt;br /&gt;nodeTermid.SetValue(termid);&lt;br /&gt;….&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;private string getTermID()&lt;br /&gt;{&lt;br /&gt;string termSite = ConfigurationManager.AppSettings["url_termsite"].ToString();&lt;br /&gt;string termIDListName = ConfigurationManager.AppSettings["list_termid"].ToString();&lt;br /&gt;string termIDKey = string.Empty;&lt;br /&gt;&lt;br /&gt;SPSite mysite = null;&lt;br /&gt;SPWeb site = null;&lt;br /&gt;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;mysite = new SPSite(termSite);&lt;br /&gt;site = mysite.RootWeb;&lt;br /&gt;site.AllowUnsafeUpdates = true;&lt;br /&gt;&lt;br /&gt;SPList list = site.Lists[termIDListName];&lt;br /&gt;&lt;br /&gt;SPQuery query = new SPQuery();&lt;br /&gt;string queryText = "&amp;lt;Where&amp;gt;&amp;lt;Eq&amp;gt;&amp;lt;FieldRef Name='{0}'" +&lt;br /&gt;"/&amp;gt;&amp;lt;Value Type='Text'&amp;gt;{1}&amp;lt;/Value&amp;gt;&amp;lt;/Eq&amp;gt;&amp;lt;/Where&amp;gt;";&lt;br /&gt;&lt;br /&gt;queryText = string.Format(queryText, "Title", "termid");&lt;br /&gt;&lt;br /&gt;query.Query = queryText;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SPListItemCollection results = list.GetItems(query);&lt;br /&gt;foreach (SPListItem item in results)&lt;br /&gt;{&lt;br /&gt;termIDKey = item["key"].ToString();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;int newID = Convert.ToInt32(termIDKey) + 1;&lt;br /&gt;&lt;br /&gt;UpdateFieldValues(termIDListName, "key", newID.ToString(), "Title", "termid");&lt;br /&gt;&lt;br /&gt;return termIDKey;&lt;br /&gt;}&lt;br /&gt;catch (Exception ex)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;throw ex;&lt;br /&gt;}&lt;br /&gt;finally&lt;br /&gt;{&lt;br /&gt;if (mysite != null) mysite.Dispose();&lt;br /&gt;if (site != null) site.Dispose();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static void UpdateFieldValues(string listName, string attribute, string attrValue,&lt;br /&gt;string filterField, string filterValue)&lt;br /&gt;{&lt;br /&gt;SPSite mysite = null;&lt;br /&gt;SPWeb site = null;&lt;br /&gt;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;mysite = new SPSite(ConfigurationManager.AppSettings["url_termsite"].ToString());&lt;br /&gt;site = mysite.RootWeb;&lt;br /&gt;site.AllowUnsafeUpdates = true;&lt;br /&gt;&lt;br /&gt;SPList list = site.Lists[listName];&lt;br /&gt;&lt;br /&gt;SPQuery query = new SPQuery();&lt;br /&gt;string queryText = "&amp;lt;Where&amp;gt;&amp;lt;Eq&amp;gt;&amp;lt;FieldRef Name='{0}'" +&lt;br /&gt;"/&amp;gt;&amp;lt;Value Type='Text'&amp;gt;{1}&amp;lt;/Value&amp;gt;&amp;lt;/Eq&amp;gt;&amp;lt;/Where&amp;gt;";&lt;br /&gt;&lt;br /&gt;queryText = string.Format(queryText, filterField, filterValue);&lt;br /&gt;&lt;br /&gt;query.Query = queryText;&lt;br /&gt;&lt;br /&gt;SPListItemCollection results = list.GetItems(query);&lt;br /&gt;foreach (SPListItem item in results)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;item[attribute] = attrValue;&lt;br /&gt;item.UpdateOverwriteVersion();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;catch (Exception ex)&lt;br /&gt;{&lt;br /&gt;throw ex;&lt;br /&gt;}&lt;br /&gt;finally&lt;br /&gt;{&lt;br /&gt;if (mysite != null) mysite.Dispose();&lt;br /&gt;if (site != null) site.Dispose();&lt;br /&gt;}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-7456138325702594284?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/7456138325702594284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=7456138325702594284' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7456138325702594284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7456138325702594284'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2009/03/generate-unique-id-for-infopath-form.html' title='Generate Unique ID for InfoPath form'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_VdadiNyDboM/Scj7NOrhffI/AAAAAAAAANM/XoOGFG8rqEU/s72-c/id.png' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-6935076511262401155</id><published>2009-02-10T15:40:00.005-05:00</published><updated>2011-11-14T16:49:11.456-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='Outlook 2007'/><title type='text'>Outlook 2007 not rendering external/internet images</title><content type='html'>Ran into this problem when working on Alerts for blog sites. The alert renders images that are stored in the intranet, but not from internet sites. &lt;br /&gt;&lt;br /&gt;Solution: As suspected, it was my Outlook 2007 settings. To fix, go to Tools -&amp;gt; Trust Center&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_VdadiNyDboM/SZHnhEzuLdI/AAAAAAAAABc/dLBVo31XD2k/s1600-h/outlooksetting1.png"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5301272791804161490" src="http://2.bp.blogspot.com/_VdadiNyDboM/SZHnhEzuLdI/AAAAAAAAABc/dLBVo31XD2k/s400/outlooksetting1.png" style="cursor: hand; float: left; height: 400px; margin: 0px 10px 10px 0px; width: 336px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_VdadiNyDboM/SZHnlOn9RyI/AAAAAAAAABk/KNgwys9G3Ak/s1600-h/outlooksetting2.png"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5301272863158650658" src="http://1.bp.blogspot.com/_VdadiNyDboM/SZHnlOn9RyI/AAAAAAAAABk/KNgwys9G3Ak/s400/outlooksetting2.png" style="cursor: hand; float: left; height: 204px; margin: 0px 10px 10px 0px; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;UNCHECK the "Don't download pictures automatically in HTML e-mail messages or RSS Items"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-6935076511262401155?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/6935076511262401155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=6935076511262401155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6935076511262401155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6935076511262401155'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2009/02/outlook-2007-not-rendering.html' title='Outlook 2007 not rendering external/internet images'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_VdadiNyDboM/SZHnhEzuLdI/AAAAAAAAABc/dLBVo31XD2k/s72-c/outlooksetting1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-889350406344650059</id><published>2009-02-10T13:52:00.003-05:00</published><updated>2011-11-14T16:35:30.157-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Switching application pools, site not rendering correctly</title><content type='html'>This is an easy one, but might take some people sometime to figure out.&lt;br /&gt;&lt;br /&gt;Problem: The admin run into an problem today when switching an application pool for a site. The site was not rendered correctly once switched to the new application pool and with the old one stopped. Upon taking a look, all the images were not showing. &lt;br /&gt;&lt;br /&gt;Solution: Make sure the 'images', along with all other applications (virtural directories) are using the same app pool. In this case, the new app pool.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-889350406344650059?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/889350406344650059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=889350406344650059' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/889350406344650059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/889350406344650059'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2009/02/switching-application-pools-site-not.html' title='Switching application pools, site not rendering correctly'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-8573252156771432619</id><published>2009-02-05T12:21:00.004-05:00</published><updated>2011-11-14T16:38:01.153-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Don't see the style library in the newly created team site</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_VdadiNyDboM/SYsgbiBRFEI/AAAAAAAAABE/hS9P1ry-3Y0/s1600-h/sc1.png"&gt;&lt;/a&gt;If you don't see the style library, you have to activate the publishing features.&lt;br /&gt;&lt;br /&gt;In site collection features, activate&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_VdadiNyDboM/SYsggfghPFI/AAAAAAAAABM/l5cv0dilg-o/s1600-h/sc1.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5299365129117318226" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 400px; CURSOR: hand; HEIGHT: 30px" alt="" src="http://4.bp.blogspot.com/_VdadiNyDboM/SYsggfghPFI/AAAAAAAAABM/l5cv0dilg-o/s400/sc1.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then in the site features, activate&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_VdadiNyDboM/SYsgpJaPKqI/AAAAAAAAABU/ksDBfiwUNS0/s1600-h/sc2.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5299365277804210850" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 400px; CURSOR: hand; HEIGHT: 28px" alt="" src="http://1.bp.blogspot.com/_VdadiNyDboM/SYsgpJaPKqI/AAAAAAAAABU/ksDBfiwUNS0/s400/sc2.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-8573252156771432619?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/8573252156771432619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=8573252156771432619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8573252156771432619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8573252156771432619'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2009/02/dont-see-style-library-in-newly-created.html' title='Don&apos;t see the style library in the newly created team site'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_VdadiNyDboM/SYsggfghPFI/AAAAAAAAABM/l5cv0dilg-o/s72-c/sc1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-4392015930401901452</id><published>2008-12-05T11:19:00.001-05:00</published><updated>2011-11-14T16:48:28.427-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>"Cannot evaluate expression because the code of the current method is optimized"</title><content type='html'>While trying to debug, came across this error on items on the watch list: "Cannot evaluate expression because the code of the current method is optimized". Non of the parameters can be 'watched'. &lt;br /&gt;&lt;br /&gt;Steps to resolve:&lt;br /&gt;1. Check if the code is really optimized on Project Properties. Also check if debug mode is 'Release'. If those checks are done and still get the same message, go to step 2.&lt;br /&gt;2. Check the config mgr (drop down on the menu somewhere in the center). make sure it says 'debug' and not 'release'.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-4392015930401901452?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/4392015930401901452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=4392015930401901452' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4392015930401901452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4392015930401901452'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/12/while-trying-to-debug-came-across-this.html' title='&quot;Cannot evaluate expression because the code of the current method is optimized&quot;'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-2680707438928861909</id><published>2008-11-04T10:19:00.009-05:00</published><updated>2011-11-14T16:38:01.125-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Filter between two dates (date range) with the Data view Webpart</title><content type='html'>To filter a date range in sharepoint:&lt;br /&gt;&lt;br /&gt;1.  What you need on a page:&lt;br /&gt;&lt;blockquote&gt;a.  2 Date Filter webparts&lt;br /&gt;b.  1 list to be filtered&lt;/blockquote&gt;&lt;br /&gt;2.  Open the page w/ SPD, convert the list to be filtered to DataView (Convert to DataView will give you a lot more columns to choose in the DataView’s Filter critiera, as oppose to going to Insert-&gt;Sharepoint Controls-&gt;DataView.  However, you will still not see a ‘[StartDate]’ and ‘[EndDate]’ when you go to Filter on the DataView's 'Common Date View Tasks'.&lt;br /&gt;&lt;br /&gt;3.  Now it's time to create the 'StartDate' and 'EndDate' parameters:&lt;br /&gt;Under the DataView's 'Common Date View Tasks', choose Filter, click on the 'Click here to add a phase', scroll down and click on 'Create a new parameter'&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_VdadiNyDboM/SRBr1V-7QwI/AAAAAAAAAAM/AKo0W_dBfZQ/s1600-h/image002.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 189px;" src="http://3.bp.blogspot.com/_VdadiNyDboM/SRBr1V-7QwI/AAAAAAAAAAM/AKo0W_dBfZQ/s320/image002.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5264826528574423810" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_VdadiNyDboM/SRBsVde6gLI/AAAAAAAAAAU/zWRF1woFG1s/s1600-h/image004.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 212px;" src="http://2.bp.blogspot.com/_VdadiNyDboM/SRBsVde6gLI/AAAAAAAAAAU/zWRF1woFG1s/s320/image004.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5264827080343453874" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4.  Now we are ready to configure the filter for the Date View:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_VdadiNyDboM/SRBsrDLgqiI/AAAAAAAAAAc/ejvUvWfa6DA/s1600-h/image006.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 189px;" src="http://3.bp.blogspot.com/_VdadiNyDboM/SRBsrDLgqiI/AAAAAAAAAAc/ejvUvWfa6DA/s320/image006.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5264827451239868962" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5.  In the code view, you should see the newly added parameters:&lt;br /&gt;   &lt;blockquote&gt;&amp;lt;ParameterBinding Name="StartDate" Location="QueryString(StartDate)" DefaultValue=""/&amp;gt; &lt;br /&gt;  &amp;lt;ParameterBinding Name="EndDate" Location="QueryString(EndDate)" DefaultValue=""/&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;6.  Now we need to setup the connections from the DataView so it knows where to get the data for the parameters.  Click on the little arrow for ‘Common Dataview tasks’, go to webpart connections (Note: makes sure you choose the ‘Get Parameters From’)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_VdadiNyDboM/SRBtPTnzXhI/AAAAAAAAAAk/HujLqfeutKQ/s1600-h/image008.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 243px;" src="http://3.bp.blogspot.com/_VdadiNyDboM/SRBtPTnzXhI/AAAAAAAAAAk/HujLqfeutKQ/s320/image008.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5264828074128793106" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When done going through the Web part Connections Wizard, you should see something like this: &lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_VdadiNyDboM/SRBtivp1xKI/AAAAAAAAAAs/Ba9JurmQU-E/s1600-h/image010.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 262px;" src="http://2.bp.blogspot.com/_VdadiNyDboM/SRBtivp1xKI/AAAAAAAAAAs/Ba9JurmQU-E/s320/image010.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5264828408071046306" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7.  Almost done.  Now go to the browser and edit page.  Click on the date filters to connect the webparts.  The Data needs to know where to get the filter values.  Even though the connections were setup from the DataView, you still have to setup the filter fields from the Date Filters.  Note the consumer field name is the parameter we setup earlier.  Do the same for each date filter, one for the 'StartDate' parameter, one for the 'EndDate' parameter.  &lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_VdadiNyDboM/SRBuLT5ATgI/AAAAAAAAAA0/eaLlbqYX9dk/s1600-h/image012.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 146px;" src="http://4.bp.blogspot.com/_VdadiNyDboM/SRBuLT5ATgI/AAAAAAAAAA0/eaLlbqYX9dk/s320/image012.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5264829104993095170" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;8.  Done.  Final result could be something like this:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_VdadiNyDboM/SRBwjxJLKPI/AAAAAAAAAA8/t8lgVk4T2so/s1600-h/image015.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 218px;" src="http://1.bp.blogspot.com/_VdadiNyDboM/SRBwjxJLKPI/AAAAAAAAAA8/t8lgVk4T2so/s320/image015.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5264831724185659634" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-2680707438928861909?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/2680707438928861909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=2680707438928861909' title='22 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/2680707438928861909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/2680707438928861909'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/11/filter-between-two-dates-date-range.html' title='Filter between two dates (date range) with the Data view Webpart'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_VdadiNyDboM/SRBr1V-7QwI/AAAAAAAAAAM/AKo0W_dBfZQ/s72-c/image002.jpg' height='72' width='72'/><thr:total>22</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-7516175474194896157</id><published>2008-10-28T13:12:00.002-04:00</published><updated>2011-11-14T16:42:11.527-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Cannot find wss feature.xml snippet...</title><content type='html'>To get the snippet for wss workflows: &lt;br /&gt;&lt;br /&gt;Using the Code Snippet Manager (if not seen, Ctrl-K, B or Tools -&amp;gt; Customize -&amp;gt; Commands, Tools, drag the Code Snippet Manager to the Tools menu), add c:\program files\microsoft visual studio 8\xml\1033\snippets\Windows SharepointServices Workflow to get the deployment xmls for the workflow (feature.xml, workflow.xml etc).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-7516175474194896157?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/7516175474194896157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=7516175474194896157' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7516175474194896157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7516175474194896157'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/10/cannot-find-wss-featurexml-snippet.html' title='Cannot find wss feature.xml snippet...'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-6637149020414297926</id><published>2008-10-27T16:31:00.003-04:00</published><updated>2011-11-14T16:41:09.912-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>SmartPart: could not load </title><content type='html'>Problem: After adding a SmartPart on a webpart page, go to select a user control in the dropdwn of the tool pane, some user controls show 'Could not load &lt;user control=""&gt;'. &lt;br /&gt;&lt;br /&gt;Soln: Select the user control anyway and click 'Apply', this would provided a detailed error message as to what's wrong. If there is a missing assembly reference (if the UC references it, but missing from web.config etc), then add the assembly reference to the web.config.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-6637149020414297926?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/6637149020414297926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=6637149020414297926' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6637149020414297926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6637149020414297926'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/10/smartpart-could-not-load.html' title='SmartPart: could not load &lt;user control&gt;'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-4017503135340227271</id><published>2008-10-24T23:15:00.003-04:00</published><updated>2011-11-14T16:38:01.128-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>SPD does not open file</title><content type='html'>Installed a fresh copy of Sharepoint Designer on a new VM.  Connect to the site with no problem.  See all the files.  However, when double-clicking to open a file, NOTHING HAPPENS!  Very intruging.&lt;br /&gt;&lt;br /&gt;Soln:  Must activate the copy of SPD!  They are not kidding when they say 'some features are not available'....why not just say 'you can't open the files unless you activate the software' or 'you need to activate NOW'....duh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-4017503135340227271?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/4017503135340227271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=4017503135340227271' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4017503135340227271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4017503135340227271'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/10/spd-does-not-open-file.html' title='SPD does not open file'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-7556954403620813246</id><published>2008-10-23T21:32:00.000-04:00</published><updated>2011-11-14T16:38:01.143-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Allow anonymous</title><content type='html'>To enable anonymous to a moss site:&lt;br /&gt;&lt;br /&gt;First enable it on Central Admin -&gt; Application Management -&gt; Authentication Providers, choose the zone, check 'Enable anonymous access'.  This does not yet allow an anonymous user to the site itself though.  Must also ALLOW anonymous on the site itself: Site Settings -&gt; People and Groups, on the left nav choose 'Site Permissions'.  On the Permissions list, 'Settings' -&gt; Anonymous Access, choose the 'Entire Web Site' radio botton....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-7556954403620813246?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/7556954403620813246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=7556954403620813246' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7556954403620813246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7556954403620813246'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/10/allow-anonymous.html' title='Allow anonymous'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-6663874469416437423</id><published>2008-10-22T10:52:00.000-04:00</published><updated>2011-11-14T16:38:01.134-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Take out the need for approval before publishing page</title><content type='html'>Just messing around with the Publishing Portal on my local VM.  I decided I don't need to approval my own changes so I decided to take out the approval feature:&lt;br /&gt;&lt;br /&gt;Go to the 'Pages' document library -&gt; Document Lirary Settings, remove the workflow.  Now there is a 'Publish' button when i going back to the page I was working on.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-6663874469416437423?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/6663874469416437423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=6663874469416437423' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6663874469416437423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6663874469416437423'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/10/take-out-need-for-approval-before.html' title='Take out the need for approval before publishing page'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-216354917287892912</id><published>2008-04-16T12:16:00.000-04:00</published><updated>2011-11-14T16:29:39.269-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath Forms Services 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>infopath dataconnection: AllowOverWrite="0"</title><content type='html'>If you don't allow overwrite of the form with the same name, it would cause an error 'an error occurred while submitting the form' if there exists an infopath form of the same name.  &lt;br /&gt;&lt;br /&gt;Soln:  use the now() function to make the filename unique.  cheesy but a quick fix if you don't care about the name.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-216354917287892912?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/216354917287892912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=216354917287892912' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/216354917287892912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/216354917287892912'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/04/infopath-dataconnection-allowoverwrite0.html' title='infopath dataconnection: AllowOverWrite=&quot;0&quot;'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-287197509773349264</id><published>2008-03-12T17:34:00.000-04:00</published><updated>2011-11-14T16:33:37.437-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath Forms Services 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>After updating Infopath Browser Enabled Form Template, new field became read-only on old/existing forms</title><content type='html'>Problem: After updating Infopath Browser Enabled Form, the newly added field became read-only on old forms. If you open the existing forms in notepad, you will not see your new field in the xml. &lt;br /&gt;&lt;br /&gt;Soln: This happens when you choose 'Do nothing' on version upgrade. To make the fields selectable/editable, republish the form with the following options. Go to Tools -&amp;gt; Form Options -&amp;gt; Versioning -&amp;gt; On version upgrade, choose "Automatically upgrade existing forms". Once the new version is uploaded in Central Admin, go back to your old forms, you should see your new fields as editable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-287197509773349264?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/287197509773349264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=287197509773349264' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/287197509773349264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/287197509773349264'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/03/after-updating-infopath-browser-enabled.html' title='After updating Infopath Browser Enabled Form Template, new field became read-only on old/existing forms'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-8190710496641734330</id><published>2008-03-05T15:19:00.000-05:00</published><updated>2011-11-14T16:38:01.149-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Moss - importing profiles from Active Directory</title><content type='html'>While trying to configure import user profiles from AD, encountered the following warning message:  &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;'This directory service setting has not been validated because the current user is not authenticated to the directory. It may be a valid setting. Do you want to save this directory service connection setting?'&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This could happen when in configurating the Import Connection, 'Use Default Account' is selected.  This default account refers to the application pool account.  If this is a local account user profiles cannot be imported.  In the Authentication Information section in the bottom of the Edit Connection page, click 'Specify Account' and specify a domain account.  Go back to the 'User Profiles and Properties' page and 'Start full import'.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-8190710496641734330?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/8190710496641734330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=8190710496641734330' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8190710496641734330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8190710496641734330'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/03/moss-importing-profiles-from-active.html' title='Moss - importing profiles from Active Directory'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-7028843487816478181</id><published>2008-02-04T17:05:00.001-05:00</published><updated>2011-11-14T16:48:03.825-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath Forms Services 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='BDC'/><title type='text'>Message: Cannot open log for source 'ExceptionManagerInternalException'. You may not have write access.</title><content type='html'>Message: Cannot open log for source 'ExceptionManagerInternalException'. You may not have write access.&lt;br /&gt;&lt;br /&gt;Came across this message when trying to write to the event log using Microsoft.ApplicationBlocks.ExceptionManagement.dll in the Infopath (IFS) form codebehind. However, if you are an administrator of the box (web server where this is running on), you won't have a problem writing to the event log. Since we cannot grant all users administrator rights, that option is out.&lt;br /&gt;&lt;br /&gt;Solution: by default, a sharepoint site uses impersonation. Use the SPSecurity class:&lt;br /&gt;&lt;br /&gt;SPSecurity.RunWithElevatedPrivileges(delegate()&lt;br /&gt;{&lt;br /&gt;ExceptionManager.Publish(ex);&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;As a side note, do not mess with the existing settings in web.config of the sharepoint site. Taking out impersonate="true" messed up our BDC and other things....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-7028843487816478181?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/7028843487816478181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=7028843487816478181' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7028843487816478181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7028843487816478181'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/02/message-cannot-open-log-for-source.html' title='Message: Cannot open log for source &apos;ExceptionManagerInternalException&apos;. You may not have write access.'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-6502997312603531494</id><published>2008-02-04T17:00:00.000-05:00</published><updated>2011-11-14T16:29:39.278-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath Forms Services 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Infopath Submit Error</title><content type='html'>Came across this error today while trying to use ExceptionManager to write to the eventlog:&lt;br /&gt;Message: The form cannot be submitted to the following location: http://d7014yleimoss:2007/Investments/10118.xml. There is a problem with the Web server. Make sure the Web server exists, try again later or contact the Web server administrator.&lt;br /&gt;&lt;br /&gt;Happily this didn't take me time to figure out.  &lt;br /&gt;&lt;br /&gt;Solution:  The user role was created to be able to submit the form, BUT the user was not granted 'contribute' access to to the Forms Library 'Investments'.  Grant the logon user the 'contribute' access in the Forms Library Settings and the form submitted successfully.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-6502997312603531494?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/6502997312603531494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=6502997312603531494' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6502997312603531494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6502997312603531494'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/02/infopath-submit-error.html' title='Infopath Submit Error'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-4871538794809457180</id><published>2008-01-07T16:52:00.000-05:00</published><updated>2011-11-14T16:47:12.118-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='BDC'/><title type='text'>BDC authentication RevertToSelf</title><content type='html'>Recently there is a case where we need to use BDC to generate some views from our sqlserver database. We have a database with a sqlserver serviceID. However, we do not want to setup SSO. One of the developers is supposed to provide a solution to this view since I was on vacation. He used Passthrough as the AuthenticationMode in the BDC application definition. However, that is not a viable solution considering we have no access to the database and we do NOT want to keep adding IDs to the database, adds an extra step to maintenance. (It actually pisses me off to some extend since he didn't even bother to figure out a workable solution for our particular environment.) &lt;br /&gt;&lt;br /&gt;Anyhoo, using RevertToSelf would work in our particular case. In the RevertToSelf scenario, the BDC will be using the application pool account to reach out to the database. We only have to give access to this one account in the database. Saved us a lot of time. In addition to putting this ID for access to the database, this ID also needs access to the BDC Entity on the SSP page (SSP &amp;gt; Business Data Catalog Applications &amp;gt; YourLOBSystem &amp;gt; YourView &amp;gt; Manage Permissions). Also noticed that other domain IDs that try to access the BDC list webpart also needs to have their IDs here! ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-4871538794809457180?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/4871538794809457180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=4871538794809457180' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4871538794809457180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4871538794809457180'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/01/bdc-authentication-reverttoself.html' title='BDC authentication RevertToSelf'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-6995853801350531168</id><published>2008-01-03T15:08:00.000-05:00</published><updated>2011-11-14T16:30:06.012-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath Forms Services 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>This form template is browser-compatible, but it cannot be browser-enabled on the selected site !!!</title><content type='html'>Get error:&lt;br /&gt;This form template is browser-compatible, but it cannot be browser-enabled on the selected site &lt;br /&gt;when trying to published a full-trust infopath browser enabled form.&lt;br /&gt;&lt;br /&gt;Soln: must activate Office SharePoint Server Enterprise Site Collection features &lt;br /&gt;(Features such as the business data catalog, forms services, and Excel Services, included in the Office SharePoint Server Enterprise License) from the Central Admin site also, besides the site feature and site collection that you are publishing to &lt;br /&gt;&lt;br /&gt;Central Administration &amp;gt; Site Settings &amp;gt; Site Features &lt;br /&gt;activate &lt;strong&gt;Office SharePoint Server Enterprise Site Collection features&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-6995853801350531168?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/6995853801350531168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=6995853801350531168' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6995853801350531168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/6995853801350531168'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2008/01/this-form-template-is-browser.html' title='This form template is browser-compatible, but it cannot be browser-enabled on the selected site !!!'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-7057068144693431497</id><published>2007-11-08T12:02:00.001-05:00</published><updated>2011-11-14T16:38:01.137-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>MOSS AAM - Need Redirecting to alternate url (but same page!)</title><content type='html'>Problem: We had a moss site of &lt;servername:1234&gt;, added alternative access mapping (AAM) &lt;servername.co.com:1234&gt; so collegues of other countries can view the pages.  The changed in url messed up the infopath browser-enabled forms that was on the old &lt;servername:1234&gt; site.  errors could be prompting you to save the form or saying the form has been closed.  However, forms will open and work well on the new url.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Soln: To prevent users from using the old url, we had to do a redirect like so on the same default.aspx page:&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:Content ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server"&amp;gt;&lt;br /&gt; &amp;lt;META Name="CollaborationServer" Content="SharePoint Team Web Site"&amp;gt;&lt;br /&gt;&lt;br /&gt; &amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;&lt;br /&gt; //add here:&lt;br /&gt; var url = window.location.href;&lt;br /&gt; if(url.search(/servername:1234/i) != -1){&lt;br /&gt;  window.location="http://servername.co.com:1234/default.aspx";&lt;br /&gt; }&lt;br /&gt; //&lt;br /&gt; var navBarHelpOverrideKey = "wssmain";&lt;br /&gt; &amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-7057068144693431497?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/7057068144693431497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=7057068144693431497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7057068144693431497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7057068144693431497'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2007/11/moss-aam-need-redirecting-to-alternate.html' title='MOSS AAM - Need Redirecting to alternate url (but same page!)'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-7691523738864880268</id><published>2007-11-06T13:32:00.000-05:00</published><updated>2011-11-14T16:31:48.184-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>access denied going to newly created sharepoint (moss) site</title><content type='html'>Encountered this problem: &lt;br /&gt;&lt;br /&gt;Created a moss site using host header (http://intranet.machinename.com), created site collection of / and /sites/hr. tried to logon but kept getting prompted. no matter what id used, access always denied.&lt;br /&gt;&lt;br /&gt;Soln: to to Central Administration, Application Management, Authentication Providers, click on zone, make sure IIS Authentication Settings is set to NTLM (was kerberos!).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-7691523738864880268?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/7691523738864880268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=7691523738864880268' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7691523738864880268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7691523738864880268'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2007/11/access-denied-going-to-newly-created.html' title='access denied going to newly created sharepoint (moss) site'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-8681872548890040807</id><published>2007-10-30T16:17:00.000-04:00</published><updated>2011-11-14T16:29:39.282-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath Forms Services 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Infopath form upload, stuck on installing, upgrading etc</title><content type='html'>Problem:  This is a new issue that suddently happened after I published a form with databinding issues (trying to use dynamic links).  After going to 'Manage Form Templates' in Central Administration, Application Management, the form is stucked on upgrading.   Checked Operations -&gt; Timer job definitions, and status, try to delete the job and redo to no avail.&lt;br /&gt;&lt;br /&gt;Solution:  C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&gt;stsadm.exe -o execadmsvcjobs&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-8681872548890040807?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/8681872548890040807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=8681872548890040807' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8681872548890040807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/8681872548890040807'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2007/10/infopath-form-upload-stuck-on.html' title='Infopath form upload, stuck on installing, upgrading etc'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-4410282198523605463</id><published>2007-10-30T16:12:00.000-04:00</published><updated>2011-11-14T16:29:39.273-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath Forms Services 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Infopath browser form - test from client, doesn't see properties show up on sharepoint list/library</title><content type='html'>Problem:  when testing from the client with the infopath form, submitting to sharepoint library, only see the name column, none of the properties seemed to be populated/promoted.  On the repair documents/relink documents page, shows up as the 'Form' content type instead of the 'Investment' content type.  (Investment is the content type of the published form.)&lt;br /&gt;&lt;br /&gt;Soln:  Steps to resolve: check the site content type, make sure the default content type is Investment, not Form.  Reset IIS, resubmit from client should see the properties.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-4410282198523605463?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/4410282198523605463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=4410282198523605463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4410282198523605463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4410282198523605463'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2007/10/infopath-form-test-from-browser-doesnt.html' title='Infopath browser form - test from client, doesn&apos;t see properties show up on sharepoint list/library'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-3992077007032125150</id><published>2007-07-05T11:21:00.000-04:00</published><updated>2011-11-14T16:45:21.110-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>When deploying to .net 2.0 web application project to production, looks for .cs file</title><content type='html'>Problem: when deploying to production, the web application is looking for the .cs file after the cs files were deleted. The cs files should have been wrapped in the assembly but didn't.&lt;br /&gt;Solution: Codefile was specified in the directive. Use 'Codebehind' instead. Codebehind should have been converted automatically when you convert the website to a Web Application. Somehow if it didn't, it will look for the codefile specified.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-3992077007032125150?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/3992077007032125150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=3992077007032125150' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/3992077007032125150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/3992077007032125150'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2007/07/when-deploying-to-net-20-web.html' title='When deploying to .net 2.0 web application project to production, looks for .cs file'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-3390681191766545838</id><published>2007-06-26T11:18:00.001-04:00</published><updated>2011-11-14T16:45:50.044-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VM'/><title type='text'>VM Guest OS takes forever to load</title><content type='html'>Problem: VM Workstation comes up fast, however, the Guest OS took forever to come up. ~ 18 mins!&lt;br /&gt;&lt;br /&gt;Solution: check the memory usage on the menu (VM --&amp;gt; Settings). Make sure the setting is at the recommended memory. Do not go beyond the 'Maximum recommended memory.' They are not kidding when they say 'Memory swapping may occur beyond this size').&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-3390681191766545838?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/3390681191766545838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=3390681191766545838' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/3390681191766545838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/3390681191766545838'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2007/06/vm-guest-os-takes-forever-to-load.html' title='VM Guest OS takes forever to load'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-7498597370328331636</id><published>2007-06-18T15:35:00.000-04:00</published><updated>2011-11-14T16:46:52.111-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>Renaming file with local resource (multi-langual)</title><content type='html'>After renaming a multi-langual file that contains local/global resources, translation won't come through - always resort to one language.&lt;br /&gt;&lt;br /&gt;Solution: Open the page and switch to designer. Rebuild.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-7498597370328331636?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/7498597370328331636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=7498597370328331636' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7498597370328331636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/7498597370328331636'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2007/06/renaming-file-with-local-resource-multi.html' title='Renaming file with local resource (multi-langual)'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-4339114318791638339</id><published>2007-06-13T09:38:00.000-04:00</published><updated>2011-11-14T16:46:24.900-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>Programmatically setting anonymous access to a list</title><content type='html'>To programmatically turn on anonymous access to a list: http://www.u2u.info/Blogs/Patrick/Lists/Posts/Post.aspx?ID=876&lt;br /&gt;&lt;br /&gt;'-------------&lt;br /&gt;Dim web As SPWeb = New SPSite("http://&lt;site url=""&gt;").OpenWeb()&lt;br /&gt;Dim list As SPList = web.Lists("&lt;list name=""&gt;")&lt;br /&gt;list.AnonymousPermMask = sprights.ViewListItems | sprights.OpenWeb | &lt;br /&gt;sprights.ViewPages &lt;br /&gt;'-------------&lt;br /&gt;&lt;br /&gt;For disable the anonymous on your list, you only need to specify the &lt;br /&gt;SPRights.EmptyMask to the AnonymousPermMask Property. &lt;br /&gt;list.AnonymousPermMask = SPRights.EmptyMask&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-4339114318791638339?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/4339114318791638339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=4339114318791638339' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4339114318791638339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/4339114318791638339'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2007/06/programmatically-setting-anonymous.html' title='Programmatically setting anonymous access to a list'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-1107810730991446613</id><published>2007-05-07T15:53:00.001-04:00</published><updated>2011-11-14T16:36:19.871-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel Services'/><title type='text'>You do not have permissions to open this file on Excel Services. Make sure that the file is in an Excel Services trusted location ....</title><content type='html'>Error:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You do not have permissions to open this file on Excel Services. Make sure that the file is in an Excel Services trusted location and that you have access to the file. &lt;br /&gt;&lt;br /&gt;Sln: Trusted Locations is not configured properly. Make sure the full URL of the FILE to be trust is not put in as the Address. Use http://&amp;lt;server&amp;gt;/&amp;lt;folder&amp;gt; instead.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-1107810730991446613?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/1107810730991446613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=1107810730991446613' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/1107810730991446613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/1107810730991446613'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2007/05/you-do-not-have-permissions-to-open.html' title='You do not have permissions to open this file on Excel Services. Make sure that the file is in an Excel Services trusted location ....'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-9108060683308520230</id><published>2007-05-07T14:37:00.000-04:00</published><updated>2011-11-14T16:43:17.104-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><title type='text'>'Service Unavailable' after iisreset</title><content type='html'>Soln: Need to update the password on the application pool the site is using.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-9108060683308520230?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/9108060683308520230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=9108060683308520230' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/9108060683308520230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/9108060683308520230'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2007/05/service-unavailable-after-iisreset.html' title='&apos;Service Unavailable&apos; after iisreset'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2194990727292214402.post-2812265873811516334</id><published>2007-04-27T14:55:00.000-04:00</published><updated>2011-11-14T16:43:34.136-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>Problem Converting Ajax files to .Net Web Application</title><content type='html'>So, I was toying with Ajax recently.&lt;br /&gt;&lt;br /&gt;Here's the problem of the day:&lt;br /&gt;When trying to convert VS2005 website to a VS2005 web application with some files having Ajax controls, I ran into this error:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Generation of designer file failed: unknown server tag 'asp:ScriptManager'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Checked web.config, even though for sure I configured ajax correctly, otherwise how was I able to run the VS2005 website without problems?! Sure enough, configured correctly with: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;controls&amp;gt;&lt;br /&gt;&amp;lt;add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/&amp;gt;&lt;br /&gt;&amp;lt;/controls&amp;gt;&lt;br /&gt;&lt;br /&gt;However, page still throws error the same error when I tried to convert to web app...&lt;br /&gt;&lt;br /&gt;Added System.Web.Extensions to References. Same error.&lt;br /&gt;&lt;br /&gt;Googled: found this post:&lt;br /&gt;&lt;a href="http://mcosier.blogspot.com/2006/12/element-scriptmanager-is-not-known.html"&gt;http://mcosier.blogspot.com/2006/12/element-scriptmanager-is-not-known.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Didn't fix the problem still!&lt;br /&gt;&lt;br /&gt;After puzzling for a bit, I got creative. I copied the old .aspx.designer.cs file over from an old version (before the ajax stuff), added in the controls that I used:&lt;br /&gt;protected System.Web.UI.UpdatePanel UpdatePanel1;&lt;br /&gt;&lt;br /&gt;and...viola! Rebuild and error went away! It had nothing to do w/ not recognizing the ScriptManager! How misleading!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #333333;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194990727292214402-2812265873811516334?l=yanlinglei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanlinglei.blogspot.com/feeds/2812265873811516334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2194990727292214402&amp;postID=2812265873811516334' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/2812265873811516334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194990727292214402/posts/default/2812265873811516334'/><link rel='alternate' type='text/html' href='http://yanlinglei.blogspot.com/2007/04/test.html' title='Problem Converting Ajax files to .Net Web Application'/><author><name>Yanling</name><uri>http://www.blogger.com/profile/16233527443229463604</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
