Re: UserControl looks different
- From: "Laurent Bugnion [ASP.NET MVP]" <galasoft-lb@xxxxxxxxxx>
- Date: Mon, 01 Jan 2007 20:27:13 +0100
Hi,
eransha wrote:
Eliyahu,
Thanks for the response. But both window form and browser "see" the
same graphic dlls when it comes to .net GUI, otherwise what's the point
in desiging the GUI of a user control if it ends up totaly different?
I think you are confused about ASP.NET. In WinForms applications, the rendering engine is .NET on Windows. The controls look accordingly. On ASP.NET, however, the rendering engine is the web browser's HTML engine. It's a totally different environment, not even mentioning a different application model. The fact that it's a User control doesn't change it.
That said, there is a possibility to expose WinForms user controls on IE only, and on Windows only, as an ActiveX control. The .NET framework must be installed on the client. Is that what you want?
http://www.codeproject.com/cs/miscctrl/htmlwincontrol.asp
I wouldn't recommend it, though.
HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
.
- Follow-Ups:
- Re: UserControl looks different
- From: eransha
- Re: UserControl looks different
- References:
- UserControl looks different
- From: eransha
- Re: UserControl looks different
- From: Eliyahu Goldin
- Re: UserControl looks different
- From: eransha
- UserControl looks different
- Prev by Date: Re: Gridview bound to Object and Checkbox
- Next by Date: Re: Reggex Ruestion
- Previous by thread: Re: UserControl looks different
- Next by thread: Re: UserControl looks different
- Index(es):
Relevant Pages
|