Home All Groups Group Topic Archive Search About
Author
24 Nov 2006 3:40 AM
Robert
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?

Author
27 Nov 2006 6:19 PM
Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
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


Show quoteHide quote
"Robert" <lhc_***@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?
>
>