如何在菜单控件中显示目录? [英] How can I show a catalog in a menu control?

查看:66
本文介绍了如何在菜单控件中显示目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我的问题是......如何在菜单控件中显示目录,但我需要指定我要显示的目录,不是全部。
因为starterSite有一个菜单,它使用提供程序"CatalogSiteMapProvider"显示目录。它显示所有目录...我想只显示我有两个中的一个...谢谢!

Hi all,

My question is... how can I show a catalog in a menu control, but I need to specify wich catalog I want to show, no all.
Because the starterSite have a menu where it show the catalog using the provider "CatalogSiteMapProvider" and It show all catalog... I would like to show only one of two that I have... thanks!

推荐答案

我们可以使用目录集来实现这个逻辑?创建一个只包含一个目录的目录集,并为非自治和注册用户分配该目录集。希望这有效...... :)

问候,
-Ravi Kanth
Can we implement this logic using catalog sets? Create a catalog set with only one catalog in it and assign that catalog set for anonomyous and register users. Hope this works...:)

Regards,
-Ravi Kanth


这篇关于如何在菜单控件中显示目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆