Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
485
Menu cut off by HtmlViewer
posted

I have a Silverlight full screen/frame app that I am building as a new chrome for an existing asp.net app. New stuff is being built in SL however, we still want to use the old pages. 

I am using the navigation framework with the xamMenu. I am using a drop down menu. It works fine.

In order to also use the .aspx pages I have created a SL page with the HtmlView control in it. I have UrlMappings that call the HtmlViewer page and pass it in the .aspx page URL and in the codebehind set that URL to HtmlViewer.

So... all the above works fine... my problem is this... When the HtmlViewer page is in the menuFrame the drop down menus are cut off right at the location where the HtmlViewer controls top is. 

I assume this is because the HtmlViewer control punches a hole in the SL app so you can view whats on the browser and the browser doesn't draw the SL menu. 

My question is, how can I solve this. My fear is the only way to do it is to put some type of event/commanding/trigger/whatever so that if the HtmlViewer is in the navigation frame it is disabled or visiblity set to collapsed. I have not even tried this though.

Has anyone run into this or have an idea how I can make the SL menus draw/show on top of the HtmlViewer control that is in my navigation frame?

Thanks,

BOb

(I wasn't sure if I should put this in the xamMenu section of the HtmlViewer section).

 

 

 

Parents Reply Children