Is there any way we can enable/disable display pages in menu option in admin/edit mode so that we can have certain pages mandatory in the menu?
You can set the default value of "display pages in menu" in admin mode, for each page type. You can also change access rights, to ensure that only people with Administer privileges gets to see/edit the "Advanced" tab where the option is placed (thats done in admin mode).
Alternatively you could hook into the Publish event, and force the property to be set whenever a page that meets certain criterias is published - but that sounds a bit like overkill.
I am also facing the same problem of "Display page in menus" checkbox is disabled.
I am using EPIServer 6 with enterprise license.I have created main site with one startpage and subiste with another startpage.Now subsite's startpage is not visible in menu and in edit mode "Display page in menus" checkbox is disabled.In admin mode I have already set Startpage type of subsite with "Display page in menus" checkbox to true . Still subsite startpage is not getting displayed in main menu.Please assist.
The checkbox is only enabled on the master language for the page (that is the language the page first was created with). So if you switch to that language you can change the property.
The default value of a property is only used when a new page is created. It does not affect pages already created.
If you want to disable it for some pages look at this blog post
and just hide it, or make it disabled
Thanks Erik and Anders for quick help.Yes now its working.