![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #2 (permalink) |
| Guest | Re: hosting WPF control like ActiveX at web page Hi, Michael wrote: > How to host WPF cintrol at web page using <object> tag? > How to set/get control's properties from JavaScript at web page? Impossible yet. The only way to integrate an XBAP application in a web page is by using an IFRAME, and there is no way for JavaScript to communicate with it. Wait for WPF/E, supposed to come in CTP this month, and in GoLive in May 2007. HTH, Laurent -- Laurent Bugnion, GalaSoft Software engineering: http://www.galasoft-LB.ch PhotoAlbum: http://www.galasoft-LB.ch/pictures Support children in Calcutta: http://www.calcutta-espoir.ch |
| | #3 (permalink) |
| Guest | Re: hosting WPF control like ActiveX at web page Hi, Michael wrote: > How to host WPF cintrol at web page using <object> tag? > How to set/get control's properties from JavaScript at web page? Impossible yet. The only way to integrate an XBAP application in a web page is by using an IFRAME, and there is no way for JavaScript to communicate with it. Wait for WPF/E, supposed to come in CTP this month, and in GoLive in May 2007. HTH, Laurent -- Laurent Bugnion, GalaSoft Software engineering: http://www.galasoft-LB.ch PhotoAlbum: http://www.galasoft-LB.ch/pictures Support children in Calcutta: http://www.calcutta-espoir.ch |
| | #6 (permalink) |
| Guest | Re: hosting WPF control like ActiveX at web page If you can trust your assembly (ie. sign and trust the key locally) you should be able to host a subclass of System.Windows.Forms.Integration.ElementHost. Then you can use the object tag, and set properties as per the standard hosting of Windows Forms. Unfortunately you can't do this without trusting your assembly because the WindowsFormsIntegration assembly does not allow partially trusted callers. - Doug <Michael> wrote in message news:eiDYjDlFHHA.5000@TK2MSFTNGP03.phx.gbl... > How to host WPF cintrol at web page using <object> tag? > How to set/get control's properties from JavaScript at web page? > |
| | #7 (permalink) |
| Guest | Re: hosting WPF control like ActiveX at web page If you can trust your assembly (ie. sign and trust the key locally) you should be able to host a subclass of System.Windows.Forms.Integration.ElementHost. Then you can use the object tag, and set properties as per the standard hosting of Windows Forms. Unfortunately you can't do this without trusting your assembly because the WindowsFormsIntegration assembly does not allow partially trusted callers. - Doug <Michael> wrote in message news:eiDYjDlFHHA.5000@TK2MSFTNGP03.phx.gbl... > How to host WPF cintrol at web page using <object> tag? > How to set/get control's properties from JavaScript at web page? > |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ActiveX Control in IE7 | trosas | Vista performance & maintenance | 4 | 07-09-2007 12:40 PM |
| ActiveX Control prompt "An ActiveX control on this page might be u | =?Utf-8?B?UmFodWw=?= | Vista General | 2 | 08-01-2006 11:08 AM |
| Re: Hosting a XAML page within a Winform. | Jason | Avalon | 2 | 02-08-2006 11:32 AM |
| Hosting a XAML page within a Winform. | Jason | Avalon | 0 | 02-08-2006 11:32 AM |
| Hosting a XAML page within a Winform. | Jason | Avalon | 3 | 02-04-2006 03:37 AM |