在内容占位符中打开菜单项 [英] opening menuitem in content place holder

查看:83
本文介绍了在内容占位符中打开菜单项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个表单,其中菜单项根据用户角色动态填充.
这些菜单项由菜单和菜单项控件填充.

我在此页面中有一个内容占位符,我希望所选菜单项应在iframe中打开.

但是,当我单击任何菜单项时,会打开一个新的浏览器窗口,而不是在iframe中打开它.

请您帮助我,以使所选菜单项在iframe中打开.

干杯
Anand

Hi,

I have a form in which the menu items gets populated dynamically based on user role.
These menu items are populated by menu and menuitem controls.

I have a content place holder in this page and i want the selected menu item shoult get opened in the iframe.

But, when I click any of menu item, a new browser window is getting opened instead of getting opened in iframe.

Request you to help me out to get the selected menu item to open in iframe.

Cheers
Anand

推荐答案

解决了我的自我.

问题是Menu.target具有"_self"而不是"_self",即_self之前有一个空格.

看起来很好笑. Microsoft本可以使用修剪后的文本值.

我在此上浪费了很多时间.希望其他人不会这样做.

干杯
Anand
Solved my self.

The problem was Menu.target was having " _self" instead of "_self" i.e. a blank space before _self.

Looks funny. Microsoft could have used trimmed value of the text.

I wasted lot of my time on this. Hopefully others will not do that.

Cheers
Anand


这篇关于在内容占位符中打开菜单项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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