在asp.net中突出显示菜单标题的选定菜单 [英] highlight the selected menu of menu header.in asp.net
本文介绍了在asp.net中突出显示菜单标题的选定菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何突出显示菜单标题中的选定菜单.asp.net
How highlight the selected menu of menu header.in asp.net
推荐答案
使用asp:menu中的这些属性为菜单项设置突出显示的颜色选择后
Use these properties from the asp:menu to set the highlighted color for the menu item after selection
StaticSelectedStyle
或
DynamicSelectedStyle
您可以使用下面的属性标签来突出显示菜单项
you can use below property tag for the Highlight the Menu item
StaticSelectedStyle
但是,如果您浏览该页面并对所有页面使用相同的控件(意味着菜单进入母版页面),则不会设置您选择的项目(菜单项将被重新加载).
请参考以下链接
链接
其他链接
but if you navigate the page and use same control for all the page(means menu is into master page ) then your selected item will not be set (menu item will Reloaded).
Please refer Below link
link
other link
这篇关于在asp.net中突出显示菜单标题的选定菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文