We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

WebControl hosted in Chromeless window cannot be seen

Thread ID:

Created:

Updated:

Platform:

Replies:

92038 Dec 15,2009 11:25 PM Dec 16,2009 04:57 AM WPF 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On December 15, 2009 11:25 PM

I have a window which loads a usercontrol. The usercontrol has two types, one type contains a normal textbox control. The other contains a webbrowser control which I can display a PDF file or a web page. Using normal WPF window, everything is ok.

Once I switched my window to inherit from a chromeless window, the usercontrol display the textbox is displayed correctly. However, the usercontrol hosting a webbrowser only displayed a background, the actual webbrowser cannot be seen although it is actully loaded. Can you help me on this style issue?



chromelesswindow_e4df927.zip

Padmaja Rajaram [Syncfusion]
Replied On December 16, 2009 04:57 AM

Hi Boyan,

Since you are using ChromelessWindow to host WebBrowser you have to set ChromelessWindow's AllowsTransparency property to false.

You cannot see the WebBrowser in normal WPF window also if you set windows AllowsTransparency to true. Since our ChromelessWindow's architecture requires AllowsTranparency property to set to true by default, we cannot modify it internally. You have to set AllowsTarparency explicitly to false to view the WebBrowser.

Hope this helps.

Please let me know if you have any other queries.

Regards,
Padmaja

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;