|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
WinForm controls in WebHi!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? 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 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? > >
getting the current page from inside a web control
TreeNodePopulate - InvalidCastException Get Datakey Value from Gridview/sqldatasource How to render HTML in a textbox? GridView Border Creating a Dynamic Checkbox in a Repeater Checkbox Lists - Retrieving Selected Entry Image Viewer on Website ASP 2.0 VS2005 Tab Control Web User Control - how to make properties accessible in designer |
|||||||||||||||||||||||