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] "Robert" <lhc_317@hotmail.com> wrote in message
news:%23ZJUWp3DHHA.3836@TK2MSFTNGP02.phx.gbl...
> 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?
>
>