By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,569 Members | 1,386 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,569 IT Pros & Developers. It's quick & easy.

programmatically removing submenu child items from menu control

P: n/a
I have a menu that really does not lend itself to a sitemap datasource
or security trimming.

In the codebehind i've been able to remove top level menu items with
this code:

Menu.Items.Remove(Menu.FindItem("Admin"))

But how can I remove child menu items under the Admin entry in the
same way?

Thanks for any help or information.

Oct 27 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Oct 27, 10:37 am, jobs <j...@webdos.comwrote:
I have a menu that really does not lend itself to a sitemap datasource
or security trimming.

In the codebehind i've been able to remove top level menu items with
this code:

Menu.Items.Remove(Menu.FindItem("Admin"))

But how can I remove child menu items under the Admin entry in the
same way?

Thanks for any help or information.
Search google groups, as I posted this question a while back. I don't
believe it can be done, even though it certainly looks like it should
work.

Oct 27 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.