all groups > asp.net webcontrols > november 2006 >
You're in the

asp.net webcontrols

group:

WinForm controls in Web


WinForm controls in Web Robert
11/24/2006 11:40:47 AM
asp.net webcontrols:
Hi!I want to use my usercontrol in the web.Now I've plug <object id="1"
classid="http:Bin/New.dll#New.UserControl1" height="200"
width="200"></object> into my HTML and it worked well in .html page. But I
can't use it in .aspx page.Any advice?

Re: WinForm controls in Web Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
11/27/2006 10:19:41 AM
It should work just the same since an ASPX only outputs HTML.
I'd suggest viewing the source (HTML output) of your ASPX page and comparing
it to your working HTML page to see if the object tag is indeed identical.

Here's more info:
http://SteveOrr.net/articles/WinformControls.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


[quoted text, click to view]
AddThis Social Bookmark Button