本文介绍了菜单渲染模式不兼容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用visual studio版本3.5 ...为了使用分隔符进行数据库驱动的菜单,我使用的是RenderingMode =Table。在使用RenderingMode = table时,在设计视图中的菜单项之间显示了分隔符,但是我收到了错误 -
I am using visual studio version 3.5 ... In order to use separator for database driven menu, I am using RenderingMode="Table". On using RenderingMode= table, separator was shown between menu item in design view but i got an error -
Error 17 'System.Web.UI.WebControls.Menu' does not contain a definition for 'RenderingMode' and no extension method 'RenderingMode' accepting a first argument of type 'System.Web.UI.WebControls.Menu' could be found (are you missing a using directive or an assembly reference?)
and
Error 18 The type or namespace name 'MenuRenderingMode' does not exist in the namespace 'System.Web.UI.WebControls' (are you missing an assembly reference?.
I had checked system.web properties and the version was 2.0.0.0.. Any help to solve this problem??.
推荐答案
这篇关于菜单渲染模式不兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!