Making custom breadcrumbs for Document library
Today, I am writing this blog to give some pointers on developing custom breadcrumb control for document library… So here it is…
Actually the problem with SharePoint’s document library is when it is displayed using list view webpart and you move in a child folder of document library then there is no way you can find “Where are you?” It seems like you have lost your way… Now consider this scenario that you have to move in 12 child folders and want to come back to 6th folder you came from, and then it would be simple hell… But don’t worry I am here with a simple web-part which will help you out to overcome this problem.
So the first thing that you should do is to start with creating a simple web-part.
Technique: The simple way is to do the URL parsing and add hyperlinks separted by “>” sign.
I have uploaded the DLL file on the following URL: http://cid-b2ab571dd1ccb4f0.skydrive.live.com/self.aspx/.Public/CustomBreadCrumb.dll
Dont forget to make the following entry in web.config file’s (located at: C:InetpubwwwrootwssVirtualDirectories80) safe controls tags
<SafeControl Assembly=“CustomBreadCrumb, Version=188.8.131.52, Culture=neutral, PublicKeyToken=9f4da00116c38ec5“ Namespace=“CustomBreadCrumb“TypeName=“*“ Safe=“True“ />
I hope this DLL file will be very useful for you people. Waiting for your feedback for further improvements.
- Posted in: SharePoint