Thanks a lot for Bruce's informative suggestions.
Hi Eric,
As for the question "control the IE host winform control" in severside
codebehind code. Here are my suggestions:
The IE host winform control( embeded in web page) are rich client features
in dotnet. In fact, the winform control's assembly will be downloaded to
clientside and then run in client side's dotnet runtim(clr). So there is no
serverside class instance acutally. That's why we use clientside script to
manipulate the rich client winform control embeded in IE. However, if you
just want to do some operations on the certain control's attributes, you
may try Bruce's suggestion that use the embeded <% %> server side script
block in the <object... >.
In addition, here are some tech articles on hosting winform user controls
in IE:
#Host Secure, Lightweight Client-Side Controls in Microsoft Internet
Explorer
http://msdn.microsoft.com/msdnmag/is...l/default.aspx
#Developing Compelling User Controls that Target Forms in the .NET Framework
http://msdn.microsoft.com/msdnmag/is...s/default.aspx
#Controles WinForm (UserControls) en IE
http://www.microsoft.com/spanish/msd...ices/art94.asp
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx