<?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/'><id>tag:blogger.com,1999:blog-3831383061215894219.post6622463793823874699..comments</id><updated>2010-06-25T09:18:55.005-06:00</updated><title type='text'>Comments on If It Matters To You ...: Custom Navigation for WSS</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.shannonbray.com/feeds/6622463793823874699/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default'/><link rel='alternate' type='text/html' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html'/><author><name>Shannon Bray</name><uri>http://www.blogger.com/profile/10075605985958917059</uri><email>sbray@go-planet.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3831383061215894219.post-7299175540518384342</id><published>2010-06-25T09:18:54.999-06:00</published><updated>2010-06-25T09:18:54.999-06:00</updated><title type='text'>Hi, it's a great article but I stumbled upon a pro...</title><content type='html'>Hi, it&amp;#39;s a great article but I stumbled upon a problem. I created a new class using your code and my own keypair, but when I try to load it wss shows an error with no description. I don&amp;#39;t even edit the master page, it shows right after editing the web.config and doing iisreset. The add statement is fine (been checked hundreds of times already).&lt;br /&gt;It seems like it&amp;#39;s trying to bind to the two lists I created but can&amp;#39;t find them or something like that.&lt;br /&gt;Have you experienced anything like this?&lt;br /&gt;Thanks a lot. &lt;br /&gt;I&amp;#39;ll continue debugging.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/7299175540518384342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/7299175540518384342'/><link rel='alternate' type='text/html' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html?showComment=1277479134999#c7299175540518384342' title=''/><author><name>Nikolay</name><uri>http://www.blogger.com/profile/08840735392234613249</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html' ref='tag:blogger.com,1999:blog-3831383061215894219.post-6622463793823874699' source='http://www.blogger.com/feeds/3831383061215894219/posts/default/6622463793823874699' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3831383061215894219.post-8572847501906760862</id><published>2010-05-22T22:31:18.493-06:00</published><updated>2010-05-22T22:31:18.493-06:00</updated><title type='text'>Hi,

  I am trying to use your approach of reading...</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;  I am trying to use your approach of reading the mapping from SharePoint list and building the quick launch programmatically rather than the top navigation. But as per the another article which I was looking at, SPWeb.Navigation.QuickLaunch returns a SPNavigationNodeCollection collection. Even if I build it after reading content from the Access List, I am not clear on how to merge that approach with GetChildNodes method which you have used? Do I need to derive my provider class from some other navigation provider? &lt;br /&gt;&lt;br /&gt;Article for building quick launch : http://vspug.com/tbaginski/2007/12/26/how-to-programmatically-customize-site-navigation-in-wss-3-0-and-moss-2007/&lt;br /&gt;&lt;br /&gt;I appreciate any inputs on this&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Sandeep&lt;br /&gt;I</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/8572847501906760862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/8572847501906760862'/><link rel='alternate' type='text/html' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html?showComment=1274589078493#c8572847501906760862' title=''/><author><name>sandeep</name><uri>http://www.blogger.com/profile/10697087200750525525</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html' ref='tag:blogger.com,1999:blog-3831383061215894219.post-6622463793823874699' source='http://www.blogger.com/feeds/3831383061215894219/posts/default/6622463793823874699' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3831383061215894219.post-3400801185781132934</id><published>2010-02-04T15:06:04.059-07:00</published><updated>2010-02-04T15:06:04.059-07:00</updated><title type='text'>Hi it really works but is there any way so that i ...</title><content type='html'>Hi it really works but is there any way so that i can use navigation of home site in sub site also using same procedure? If yes then how please reply.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Ankit</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/3400801185781132934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/3400801185781132934'/><link rel='alternate' type='text/html' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html?showComment=1265321164059#c3400801185781132934' title=''/><author><name>ankit</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html' ref='tag:blogger.com,1999:blog-3831383061215894219.post-6622463793823874699' source='http://www.blogger.com/feeds/3831383061215894219/posts/default/6622463793823874699' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3831383061215894219.post-3881061933286496554</id><published>2009-09-22T06:38:53.136-06:00</published><updated>2009-09-22T06:38:53.136-06:00</updated><title type='text'>Hi Its adding 2 times 
Do we have a solution for t...</title><content type='html'>Hi Its adding 2 times &lt;br /&gt;Do we have a solution for that &lt;br /&gt;also if i dont want to consider the Quicklaunch navigation?&lt;br /&gt;&lt;br /&gt;Thanks in advance</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/3881061933286496554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/3881061933286496554'/><link rel='alternate' type='text/html' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html?showComment=1253623133136#c3881061933286496554' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html' ref='tag:blogger.com,1999:blog-3831383061215894219.post-6622463793823874699' source='http://www.blogger.com/feeds/3831383061215894219/posts/default/6622463793823874699' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3831383061215894219.post-3736062931897820049</id><published>2009-09-04T09:22:34.853-06:00</published><updated>2009-09-04T09:22:34.853-06:00</updated><title type='text'>I was really exicted to use this, but when I put t...</title><content type='html'>I was really exicted to use this, but when I put the line in the web.config I get a &amp;quot;Security Exception&amp;quot; error.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/3736062931897820049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/3736062931897820049'/><link rel='alternate' type='text/html' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html?showComment=1252077754853#c3736062931897820049' title=''/><author><name>buchannon</name><uri>http://www.blogger.com/profile/03243043526855883804</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html' ref='tag:blogger.com,1999:blog-3831383061215894219.post-6622463793823874699' source='http://www.blogger.com/feeds/3831383061215894219/posts/default/6622463793823874699' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3831383061215894219.post-6421213877192066868</id><published>2009-08-14T14:00:48.159-06:00</published><updated>2009-08-14T14:00:48.159-06:00</updated><title type='text'>Is there a way in the custom navigation to make su...</title><content type='html'>Is there a way in the custom navigation to make sure that the wsstopnavigation tab selected displays as selected?&lt;br /&gt;&lt;br /&gt;After implementing the custom navigation the selected tab always displays the home tab after a selection is made.&lt;br /&gt;&lt;br /&gt;Teddi Easlon</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/6421213877192066868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/6421213877192066868'/><link rel='alternate' type='text/html' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html?showComment=1250280048159#c6421213877192066868' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html' ref='tag:blogger.com,1999:blog-3831383061215894219.post-6622463793823874699' source='http://www.blogger.com/feeds/3831383061215894219/posts/default/6622463793823874699' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3831383061215894219.post-682722130544265286</id><published>2008-12-19T11:13:00.000-07:00</published><updated>2008-12-19T11:13:00.000-07:00</updated><title type='text'>Praveen,I used the following code to check on the ...</title><content type='html'>Praveen,&lt;BR/&gt;&lt;BR/&gt;I used the following code to check on the URL to see whether the user has access on or not and the code runs under the Users security context.&lt;BR/&gt;&lt;BR/&gt;       private bool CheckAccess ( string url )&lt;BR/&gt;        {&lt;BR/&gt;            bool retValue = false;&lt;BR/&gt;            object spfile1 = null;&lt;BR/&gt;            SPSite spSite = null;&lt;BR/&gt;            SPWeb spweb = null;&lt;BR/&gt;            try&lt;BR/&gt;            {&lt;BR/&gt;                spSite = new SPSite(url);&lt;BR/&gt;                spSite.CatchAccessDeniedException = false;&lt;BR/&gt;                string file = url.Replace(spSite.Url, "");&lt;BR/&gt;                try&lt;BR/&gt;                {&lt;BR/&gt;                    spfile1 = spSite.RootWeb.GetFileOrFolderObject(file);&lt;BR/&gt;                    retValue = true;&lt;BR/&gt;                }&lt;BR/&gt;                catch (ThreadAbortException ex)&lt;BR/&gt;                {&lt;BR/&gt;                    Thread.ResetAbort();&lt;BR/&gt;                }&lt;BR/&gt;                catch (Exception ex)&lt;BR/&gt;                {&lt;BR/&gt;                }&lt;BR/&gt;                if (!retValue)&lt;BR/&gt;                {&lt;BR/&gt;                    spweb = spSite.OpenWeb(file, false);&lt;BR/&gt;                    spfile1 = spweb.GetFileOrFolderObject(file);&lt;BR/&gt;                    if ((spfile1 is SPFile) || (spfile1 is SPFolder))&lt;BR/&gt;                    {&lt;BR/&gt;                        retValue = true;&lt;BR/&gt;                    }&lt;BR/&gt;                }&lt;BR/&gt;            }&lt;BR/&gt;            catch (ThreadAbortException ex)&lt;BR/&gt;            {&lt;BR/&gt;                Thread.ResetAbort();&lt;BR/&gt;            }&lt;BR/&gt;            catch (Exception ex)&lt;BR/&gt;            {&lt;BR/&gt;&lt;BR/&gt;            }&lt;BR/&gt;            finally&lt;BR/&gt;            {&lt;BR/&gt;                if (spSite != null)&lt;BR/&gt;                {&lt;BR/&gt;                    spSite.CatchAccessDeniedException = true;&lt;BR/&gt;                    spSite.Dispose();&lt;BR/&gt;                    spSite = null;&lt;BR/&gt;                }&lt;BR/&gt;                if (spweb != null)&lt;BR/&gt;                {&lt;BR/&gt;                    spweb.Dispose();&lt;BR/&gt;                    spSite = null;&lt;BR/&gt;                }&lt;BR/&gt;&lt;BR/&gt;            }&lt;BR/&gt;            return retValue;&lt;BR/&gt;        }&lt;BR/&gt;&lt;BR/&gt;And by the way, did you by any chance, you're using Feature to activate the Custom Navigation. If yes, I would appreciate, if you could send me the code @ malathyr at gmail dot com</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/682722130544265286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/682722130544265286'/><link rel='alternate' type='text/html' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html?showComment=1229710380000#c682722130544265286' title=''/><author><name>Ramesh Krishnan</name><uri>http://www.blogger.com/profile/05249948081514484061</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html' ref='tag:blogger.com,1999:blog-3831383061215894219.post-6622463793823874699' source='http://www.blogger.com/feeds/3831383061215894219/posts/default/6622463793823874699' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3831383061215894219.post-5267273093293480995</id><published>2008-12-19T09:20:00.000-07:00</published><updated>2008-12-19T09:20:00.000-07:00</updated><title type='text'>Hi I see this solution to be working except it doe...</title><content type='html'>Hi &lt;BR/&gt;&lt;BR/&gt;I see this solution to be working except it doesn't take care of security triming;&lt;BR/&gt;&lt;BR/&gt;meaning if i have Site Collection A / Site Collection B / Site Collection C. I want to show Menu with these three link in the Top Navigation.&lt;BR/&gt;&lt;BR/&gt;I have a user A who has access to only site collection A / site Collection B but not Site Collection C.&lt;BR/&gt;&lt;BR/&gt;when user access the site he will see all the three links; and when clicks on site collection C link he will get access deneid instead i wanted to check with you if you have way of finding out login user context and apply the security on the menu and show / hide these links....&lt;BR/&gt;&lt;BR/&gt;Pls Let me know if you have any suggestion to the scenario i mentioned &lt;BR/&gt;&lt;BR/&gt;Thanking you in advance&lt;BR/&gt;-Praveen</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/5267273093293480995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/5267273093293480995'/><link rel='alternate' type='text/html' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html?showComment=1229703600000#c5267273093293480995' title=''/><author><name>Praveen</name><uri>http://www.blogger.com/profile/05986559707389398570</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html' ref='tag:blogger.com,1999:blog-3831383061215894219.post-6622463793823874699' source='http://www.blogger.com/feeds/3831383061215894219/posts/default/6622463793823874699' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3831383061215894219.post-3674941322542857297</id><published>2008-11-25T11:20:00.000-07:00</published><updated>2008-11-25T11:20:00.000-07:00</updated><title type='text'>Hi,I'm trying to use the code to customize my navi...</title><content type='html'>Hi,&lt;BR/&gt;&lt;BR/&gt;I'm trying to use the code to customize my navigation with Features. If I try it my feature, I'm getting the following error, which is really strange&lt;BR/&gt;&lt;BR/&gt;Failed to create a control from assembly 'ShannonBray.WSS.MenuProvider, version=1.0.0.0, Culture=neutral, PublicKeyToken=9f2617b5eee77523', class 'ShannonBray.WSS.MenuProvider.MenuProvider': Unable to cast object of type 'ShannonBray.WSS.MenuProvider.MenuProvider' to type 'System.Web.UI.Control'.  &lt;BR/&gt;DelegateControl: Exception thrown while building custom control 'Microsoft.SharePoint.SPControlElement': System.InvalidCastException: Unable to cast object of type 'ShannonBray.WSS.MenuProvider.MenuProvider' to type 'System.Web.UI.Control'.     at Microsoft.SharePoint.Utilities.SPUtility.CreateServerControlFromAssembly(String sControlAssembly, String sControlClass)     at Microsoft.SharePoint.SPControlElement.BuildCustomControl(TemplateControl tctlPage, String sControlAssembly, String sControlClass, String sControlSrc, XmlNode xnElementDefinition, SPFeatureDefinition featdefElement, String sElementId)     at Microsoft.SharePoint.SPControlElement.BuildCustomControl(TemplateControl tctlPage)     at Microsoft.SharePoint.WebControls.DelegateControl.BuildCustomControlResilient(SPControlElement ctlelemDefinition)  &lt;BR/&gt;&lt;BR/&gt;If I remove the Delegate control and set the datasource manually in the code from masterpage, it works great.&lt;BR/&gt;&lt;BR/&gt;Any idea why this might happen. I'm trying to fix this for some time and it really runs me nuts&lt;BR/&gt;&lt;BR/&gt;I tried running this in few servers and getting the same message.&lt;BR/&gt;&lt;BR/&gt;Any help will be greatly appreciated.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/3674941322542857297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/3674941322542857297'/><link rel='alternate' type='text/html' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html?showComment=1227637200000#c3674941322542857297' title=''/><author><name>Ramesh Krishnan</name><uri>http://www.blogger.com/profile/05249948081514484061</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html' ref='tag:blogger.com,1999:blog-3831383061215894219.post-6622463793823874699' source='http://www.blogger.com/feeds/3831383061215894219/posts/default/6622463793823874699' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3831383061215894219.post-6182640144684945042</id><published>2008-11-13T05:40:00.000-07:00</published><updated>2008-11-13T05:40:00.000-07:00</updated><title type='text'>I've completed every step, but nothing happened. T...</title><content type='html'>I've completed every step, but nothing happened. The wss website shows the top link bar, not the custom list navigation.&lt;BR/&gt;&lt;BR/&gt;I also put some items in the WSSTopNavigation list.&lt;BR/&gt;&lt;BR/&gt;What am I doing wrong??</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/6182640144684945042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/6182640144684945042'/><link rel='alternate' type='text/html' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html?showComment=1226580000000#c6182640144684945042' title=''/><author><name>Stefan</name><uri>http://www.blogger.com/profile/12708955549123951191</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html' ref='tag:blogger.com,1999:blog-3831383061215894219.post-6622463793823874699' source='http://www.blogger.com/feeds/3831383061215894219/posts/default/6622463793823874699' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3831383061215894219.post-5272662207711375056</id><published>2008-10-18T07:14:00.000-06:00</published><updated>2008-10-18T07:14:00.000-06:00</updated><title type='text'>Hi Nice article,I have scenario like this.I have c...</title><content type='html'>Hi Nice article,&lt;BR/&gt;I have scenario like this.&lt;BR/&gt;&lt;BR/&gt;I have created subsites site1, site2, site3 in a site collection.&lt;BR/&gt;Every site has their own pages document library.Depend on some scenario some time I want to select site1,site2 and in other scenario site1,site3 only.&lt;BR/&gt;&lt;BR/&gt;1.How can we use the inbuilt pages document library within the site to create the menu instead of a custom list?&lt;BR/&gt;2.How can we iterate through the nested subsites and their respective page document library?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/5272662207711375056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3831383061215894219/6622463793823874699/comments/default/5272662207711375056'/><link rel='alternate' type='text/html' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html?showComment=1224335640000#c5272662207711375056' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.shannonbray.com/2008/05/custom-navigation-for-wss.html' ref='tag:blogger.com,1999:blog-3831383061215894219.post-6622463793823874699' source='http://www.blogger.com/feeds/3831383061215894219/posts/default/6622463793823874699' type='text/html'/></entry></feed>