-
Hi Rodney, HtmlPanel utilizes native DIV and IFRAME DOM elements of the browser. Unfortunately, this means that they effectively sit on top of the Silverlight plugin, covering everything below. A common solution is to implement your drop-down controls (or the entire toolbar that contains them) as a separate Silverlight application that sits on top of the one containing the HtmlPanel by explicity setting the CSS z-index property for each application plugin instance. The two applications talk to each...
-
Hi - I am trying the html panel but am running into a problem that someone here might be able to help me with.
I have several dropdown combo boxes sitting above the HTMLPanel, and when they drop down, their content is hidden behind the htmlpanel rather than displayed over the top of it.
Is there a way to ensure that silverlight controls, such as the combo boxes, are displayed on top of the htmlpanel?
Regards
Rodney Lane.
-
Hello Paul, I tried the code you posted and it works for me in IE, but you are right, in Firefox sometimes the ContextMenu does not open, this is due to a measurement issue with the non-IE specific code. A quick workaround is to top-left align the Silverlight so that the measurement in FireFox is correct, add this to the body tag: and the demo code you used should work. I will post a better workaround for this in the coming days. Thank you for pointing this out, it will be fixed in an upcoming release...
-
Hi Paul,
Yes this is a bug, if you use Id instead it will work, I have fixed this for upcoming releases.
Thanks for pointing it out,
Jeremy
-
In Web.UI 2007.1 we deprecated the old templated approach to creating Snaps. Here is a version of the "Runtime Instantiation" demo, modified to use both the old and new method of creating Snap controls on the server. Note: A minor bug requires one to clear out the default Snap content and give them explicit IDs. This should be fixed in an upcoming build. using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using...