Pregunta

I have created a top navigation user control which works fine in SharePoint 2013 site.

But on site settings and other administrative pages like site permission page, the navigation is not working. On these pages SharePoint default navigation is displaying.

I have checked that My master page is applied to these pages in which I have put my user control. Can you please tell me, how can I fix this issue?

[EDIT]

My master page is applying in Site Settings pages but my user control is override by SharePoint Navigation. How can I fix this?

¿Fue útil?

Solución 3

Finally we came to a patch. I don't know the strange behavior of this issue. We took our code from contentplaceholder PlaceHolderTopNavBar and put below it and its working great.

But still master page requires contentplaceholder as if we remove it then it throws error that its missing.

Otros consejos

Your System Master Page is likely to be different. So apply the same master in Site Master Page and System Master Page

Site Master Page VS System Master Page

Site Master Page:

The site master page will be used by all publishing pages - the pages that visitors to your website will see. You can have a different master page for each Device Channel. If you don't see the master page you're looking for, go to the Master Page Gallery in Site Settings and make sure it has an approved version.

System Master Page:

The system master page will be used by administrative pages, lists, and document library views on this site. If the desired master page does not appear, go to the Master Page Gallery in Site Settings and make sure the master page has an approved version.

enter image description here

Have you checked for your user control markup in the source of the site settings page. If you can find an empty markup such as a div or something then you can be sure that your master page is correct. Then you might be able to look into other reasons why the user control is not loading.

Licenciado bajo: CC-BY-SA con atribución
scroll top