Breadcrumbs Issue

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
4/9/2012 11:43:49 AM
Gravatar
Total Posts 50

Breadcrumbs Issue

I find out a very wired breadcrumbs issue, I create a custom feature and add into the root and i have few configuration pages page link put in my admin dashboard page,

suppose the level of breadcrumbs is 

customfeaturepagename > mydashboardpage > 

but when every time i click in any pages in my admin dashboard page the breadcrumbs link to my home page which is default mojo html page.

Home >  mydashboardpage 

 i am using the code in my configuration page 

Control c = Master.FindControl("Breadcrumbs");
if (c != null)
{
BreadcrumbsControl crumbs = (BreadcrumbsControl)c;
crumbs.ForceShowBreadcrumbs = true;
crumbs.AddedCrumbs = "<a href='"
+ ("/Accreditation/Admin/admindashboard.aspx?pageid=")
+ pageId.ToInvariantString()
+ "&amp;mid=" + moduleId.ToInvariantString()
+ "' class='unselectedcrumb'>" + customResources.admindashboardname
+ "</a>";
}

any one facing this issue before ? any solution of it ? 

4/10/2012 12:46:38 AM
Gravatar
Total Posts 50

Re: Breadcrumbs Issue

YES . finally i know what cause this,cause i didnt pass in the module id and pageid. 

You must sign in to post in the forums. This thread is closed to new posts.