views:

12

answers:

0

Hi all,

I develop asp.net application integrated in SharePoint.

I need to bind menu on the pages depending on user right and permissions in the custom db. All it's OK in the pages what I created (derived from LayoutsPageBase).

Ex.:

        object objMenu = CoreUtils.FindControlRecursive(Page, "QuickLaunchMenu");
        if (null != objMenu)
            if (objMenu is AspMenu)
                MenuUtils.InitMenu((AspMenu)objMenu);

But how can I change menu on the default page?

I don't need to use Site Navigation Settings, all should be created in run-time.