.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Add Bread Crumb to Custom aspx page

Posted By:      Posted Date: October 07, 2010    Points: 0   Category :SharePoint

I have deployed a custom aspx page as a sharepoint feature [hence this page is not present in layouts folder].
As a part of functionality, This page is accessible from sub-site. Now problem here is that the breadcrumbs are not getting displayed properly. It is getting displayed as :

TestSite > Test SubSite

Where TestSite is displayed as hyperlink but Test SubSite is not. I want bread crumbs to displayed as :

TestSite > Test SubSite > MyPage

Any Inputs

Thanx & Regards,

[Sorry for posting this on multiple forums, I have posted it on Sharepoint-Design & customization forum but din't get any reply and its really urgent .. Thnx]

View Complete Post

More Related Resource Links

Adding a custom control to the SharePoint 2010 Team Site Wiki Page Template ( wkpstd.aspx ) programm

Topic This is maybe my last post about the Team Site Wiki Page customization with the aim of exceeding its limitations. This time we are going to customize the unique template ( wkpstd.aspx) by replacing the control that renders the editable content by a custom one. In this post example, we will take advantage of the use of this custom control to render not editable additional contents, for instance, a header and a footer that could be the same for a specific Wiki Page Library. Of course, we are not going to really customize the template, but we are going to use a delegate control to replace the control at runtime. Here are the screen shots of the result: We can see a non editable Header and Footer on the Team Site Wiki Page In edit mode these additional contents are not rendered, but we can add new content as usual And of course, after having saved the page, the new content is rendered wtih the non editable Header and Footer. Steps required   If you look at the Team Site Wiki Page template, wkpstd.aspx, you can see the control that is rendering the editable content/ <SharePoint:EmbeddedFormField ID="WikiField" FieldName="WikiField" ControlMode="Display" runat="server" /> We are first going to create a custom EmbeddedFormField control Then, we are going to use a delegate control to replace the native EmbeddedFor

unable to create wiki library with bulagarian name via custom ASPX page

hi, I am using one Aspx page where it takes the input from user and create the wiki library with the name entered by User. The issue is , when I am creating name in Eglish it is creating properly. but suppose I give library name  ¿¿¿¿¿¿¿ TEXT 4, I get the following error http://vm2003/ ??????? TEXT 4/Forms/AllPages.aspx?PageView=Shared ?? ??????????. which means ttp://vm2003/ ??????? text / AllPages 4 forms /. Aspx? PageView = shared does not exist. I dont know hwy it is redirecting to this page. but when i check on site , the library gets created with name ??????? TEXT 4 and its URL is http://vm2003/TEXT%204/Forms/AllPages.aspx if you see the bulgarian part is missed, please help.

How to associate custom masterpage from 12 hive folder to an ASPX page

scenario: I have a custom masterpage available within 12 hive folder.  I want one of the ASPX pages (say allitems.aspx) to use this masterpage. I see that when I open the ASPX page using SPD, it has default.master but upon changing it to mydefault.master it gives error indicating that file is not found. So question is how to reference custom masterpage in aspx pages? I prefer to do it through visual studio but SPD is also fine.   thanks.

Custom Page Template (List.aspx) - one to many relationship


Hi, I have two tables which is Customer and Customer Details table, with one to many details.

Is there possible to show Child table's column in (done in one GridView) Customers/Lisp.aspx?

Accessing my custom aspx page in the place of Newform.aspx of the list



I have a aspx page where i have designed the controls as per the need.Now my requirement is as soon as user click on 'New' of the List,i am expecting to aspx page to come as Newform.aspx of the list.Could you please share your ideas regarding this?

Thanks & Regards,


Provision Custom aspx page



      I need to provision a custom aspx  with webparts  on the page with site definition,

I added follwing code to element.xml

<Module Name="x" Url="Pages" Path="Pages">
        <File Url="x.aspx"  Path="page.aspx" Type="GhostableInLibrary"/>

but it did not work and error says could not complete the action.

How to use a custom aspx page instead of RSViewerPage.aspx to open report from Report Library in Sha

I am using MOSS 2007 in SSRS integration mode and currently the report opens up on page - RSViewerPage.aspx and I have created my own custom aspx that can be used for viewing the reports. How to use a custom aspx page instead of RSViewerPage.aspx to open report from Report Library in Sharepoint SSRS integration mode.

Thanks in advance

Sharepoint 2010 custom .aspx page for custom functionality





I want to include a custom .aspx page with code behind in sharepoint 2010. This aspx page is supposed to take data 
from custom list and generate an xml. So the output is xml. Our site is an internet facing site and it is anonymous
access. Some swf files are using this aspx page to get dynamic data from list in xml format. When flash is trying
to get xml from this page sharepoint first redirects to login page. I need help from you guys, since I am new in sharepoint I got really struck here.

Thanks in advance,
Jiju Alex.

How to use custom WrkTaskIp.aspx page in custom sharepoint workflow ?


I have created as custom task edit browser enabled Infopath form which successfully gets open when user clicks on Edit task. But by default it opens up in the WrkTaskIP.aspx page which is available in 12 hive..Layouts folder.

Now the default WrkTaskIP form provides two following options as hyperlinks 1. Delete item, and 2. A link to navigate to the task display form

I want to customize the OOB, WrkTaskIP page and associate that with my workflow.

How exactly can i achieve this ?

P.S: I have refered this link , but that does not specify clearly where exaclty to associate that custom page in the workflow and how.


SP2010: Using SPCalendarView in custom .aspx page


I am trying to use sharepoint SPCalendarView in my hand-written page. Calendar's grid displays empty cells with dates only without events. Calendar doesn't react on user's actions.

 <SharePoint:SPCalendarView runat="server" ListName="IWCalendar" EnableViewState="true"></SharePoint:SPCalendarView>

I've referenced all required assemblies:

<%@ Register Tagprefix="SharePoint"

Custom action to actions- menu on "manage content and structure" sitemanager.aspx page


Hi all


I need to add custom action to actions menu of document library when user is in "content and structure" and can multiselect items from doclib. (doc lib is active in left side)


Any ideas how to add that?


By default the Action menu contains items copy,move,delete|checkout,discard checkout, checkin,publish,unpublish


Other option would be to add multiselect support to doc libraries.


Thanks for the ideas in advance,




MultipleLookUpField on custom aspx Page


Hi guys,

I've a question regarding the MulitpleLookField. I want a field of this type include in my custom aspx page which should create a new list item, but I get the error:

Operation is not valid due to the current state of the object.

<td class="ms-formbody"><SharePoint:MultipleLookupField ID="control" runat="server" ControlMode="New" /></td>

Code Behind:
public class myClass : LayoutsPageBase
 protected MultipleLookupField control;
 protected override void OnPageLoad()
  using(SPSite site = SPContext.Current.Site)
   using(SPWeb web = site.Rootweb)
   SPList list = web.Lists["Produkte"];
   SPControl.SetContextWeb(HttpContext.Current, web);
   control.ListId = list.ID;
   control.FieldName =        InternalNames.aehnlichekoppelbarePro

Open custom aspx page as modal dialog from link


Here's what I'm trying to achieve. I got a url field in my list which contains a link to a custom aspx page I've created earlier. I've added the "&IsDlg=1" property to my url and I want to page to be opened as a modal dialog. However the page opens full window and not as a dialog at all.

Do I have to create a custom field? I've seen how to open a modal dialog with javascript, but my url field only accepts http://xxx aso so I'm screwed. Any help is very much appreciated.

Click on document and Redirect to a custom aspx page.


Hi all

I have created a document library and uploading files in it.

when i click on any document it is opened at client side for example in sharepoint designer.

I want to redirect to a custom aspx page when user clicks on any document rather than opening at client side.

Is it possible?

Getting an error while attaching the master page to custom .aspx


Hi ,

I am getting the following error while I am trying to attach the master page to the custom form

The virtual path '/_catalogs/masterpage/default.master' maps to another application, which is not allowed.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: The virtual path '/_catalogs/masterpage/default.master' maps to another application, which is not allowed.

Actually I am developing the association form in the custom work flow , I am calling the master on the On PreINt event of the page



Adding Current Date to a Custom aspx page

I have a custom aspx page that I have built using SharePoint Designer 2007. I need to add a heading on my page that says "Status Report As Of" and then display today's date dynamically. Does anyone know how to accomplish this?

Launch CMD File From ASPX Page


My organization uses a CMD file to install updated files for a major enterprise application. Currently, we send out an email to users with a link to the file and instructions to run it, BUT inevitably users don't update their machines until their in field and try to start the app.


We're now liking the idea of using an ASPX page to prompt the users to run the updates and to capture the fact that the updates have been run. I realize that we can't capture the success or failure of the update. But we'd like to capture the user accessed the page.


Is it possible to embed into the markup for the page a link to the file on the local intranet that the users can click on to run the file?

The user accessing the page would capture that they did just that. We'd deal with wether or not the update was actually installed or if it failed later with them directly.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend