放置在母版页中的我的silverlight菜单(用户控件)的子菜单项与内容占位符子页面重叠 [英] sub menu items of my silverlight menu (which is a user control) placed in the Master Page gets overlapped by the content place holder child page

查看:82
本文介绍了放置在母版页中的我的silverlight菜单(用户控件)的子菜单项与内容占位符子页面重叠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

我使用silverlight中的画布,弹出窗口和列表框控件创建了我自己的水平菜单控件,它工作得非常好。因为我希望这个菜单控件显示在我将这个菜单放在母版页的所有页面上。但是这个菜单的子菜单项与子页面内容占位符重叠。我一直在绞尽脑汁但是无法获得任何解决方案。

菜单控件在我的aspx MasterPage.Master上以下列方式添加



< td align =" left" >

< div>
< asp:Silverlight ID =" slvMenu" RUNAT = QUOT;服务器" Source ="〜/ ClientBin / jmmwebsite.xap"
MinimumVersion =" 2.0.31005.0"宽度= QUOT; 467px"高度="100px"

InitParameters =" control = Menu"可见= QUOT;真" />
< / div>
< / td>

上面的菜单项位于母版页的表中。

上面菜单控件的子菜单项重叠了contentplaceholder子页面因此无法看到子菜单项。

等待尽快回复

感谢您的帮助,


Mario。

HI ,

  I have  created my own horizontal menu control using a canvas,popup and listbox controls in silverlight which is working perfectly allright. Since i want this menu control to be showed on all the pages i have placed this menu in the master page.But the sub menu items of this menu get overlapped by the child page content place holders.i have been racking my brains over this but could not get any solution.

the menu control is added in the following way on my aspx MasterPage.Master

 

<td align="left"  >
            
             <div >
            <asp:Silverlight ID="slvMenu" runat="server" Source="~/ClientBin/jmmwebsite.xap"
                            MinimumVersion="2.0.31005.0" Width="467px" Height="100px"
                                     InitParameters="control=Menu" Visible="true"    />
               </div>                   
            </td>

 the above menu item is in a table which is situated in the master page.

the sub menu items of the above menu control are getting overlapped by the contentplaceholder child pages and hence the sub menu items cannot be seen.

awaiting a reply as soon as possible

thanks for your help in advance,


Mario.

推荐答案



首先尝试指定位置:绝对对象的风格。
第二 - 使用"窗户=真QUOT;在silverlight对象的参数中。我在这里写了博客( http://blogs.microsoft.co.il/blogs/alex_golesh/archive/2008/06/19/quick-tip-silverlight-integration-within-html-content.aspx ) - 希望这会有所帮助。

问候,
Alex
Hi,

First try specifiy position:absolute to your object's style.
Second - use "windowless=true" in silverlight object's parameter.
I've blogged about it here (http://blogs.microsoft.co.il/blogs/alex_golesh/archive/2008/06/19/quick-tip-silverlight-integration-within-html-content.aspx) - hope this helps.

Regards,
Alex


这篇关于放置在母版页中的我的silverlight菜单(用户控件)的子菜单项与内容占位符子页面重叠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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