Windows.Forms control in www
-
Hi, Is there any way how to insert class derived from
Windows.Forms.UserControl
(orControl
) to Web page ? I am not talking about Asp.Net and i do not want to use it. (Asp.Net is great but i need to react to users input very fast without downloading web page again) I mean something like inserting (ActiveX conctol or Java applet) in the Web page. (I do not need to install this from web - everybody who will enter this page can have installed .Net framework and anything else). :confused: Thanks/* I'm sorry about my english but i hope you can understand this */
-
Hi, Is there any way how to insert class derived from
Windows.Forms.UserControl
(orControl
) to Web page ? I am not talking about Asp.Net and i do not want to use it. (Asp.Net is great but i need to react to users input very fast without downloading web page again) I mean something like inserting (ActiveX conctol or Java applet) in the Web page. (I do not need to install this from web - everybody who will enter this page can have installed .Net framework and anything else). :confused: Thanks/* I'm sorry about my english but i hope you can understand this */
Tomas Petricek wrote: mean something like inserting (ActiveX conctol or Java applet) in the Web page. I suppose you could either go with the Java applet X| or an ActiveX control (which I believe you would probably do in ATL). Does this help. Regardless of whether or not the end user has the .NET Framework or not, this is not required for a client if it is a web page that is being viewed. ActiveX controls download as plugins to the IE browser only. Hope this helps. :) Nick Parker
May your glass be ever full. May the roof over your head be always strong. And may you be in heaven half an hour before the devil knows you’re dead. - Irish Blessing
-
Hi, Is there any way how to insert class derived from
Windows.Forms.UserControl
(orControl
) to Web page ? I am not talking about Asp.Net and i do not want to use it. (Asp.Net is great but i need to react to users input very fast without downloading web page again) I mean something like inserting (ActiveX conctol or Java applet) in the Web page. (I do not need to install this from web - everybody who will enter this page can have installed .Net framework and anything else). :confused: Thanks/* I'm sorry about my english but i hope you can understand this */
Yes it is possible, this code should do it (put it on your web page)
This requires that you create a class library and put the control named
myClass
in it.myCtl
is a client side name so you can manipulate the control with script.HTH,
James
Sig code stolen from David Wulff -
Yes it is possible, this code should do it (put it on your web page)
This requires that you create a class library and put the control named
myClass
in it.myCtl
is a client side name so you can manipulate the control with script.HTH,
James
Sig code stolen from David WulffWow ;P This is exactly what i wanted Than you :-D
-
Yes it is possible, this code should do it (put it on your web page)
This requires that you create a class library and put the control named
myClass
in it.myCtl
is a client side name so you can manipulate the control with script.HTH,
James
Sig code stolen from David WulffI like this!;P But i have another little problem with this: I don't know how to handle events of this control. i know how to change properties of this using <param>:
<param name="Text" value="ButtonText">
or using JavaScript:myCtl.Text='NewBtnTex';
But i do not know if i can handle events and (if it is possible) how to do it :confused: Thank you:) -
Hi, Is there any way how to insert class derived from
Windows.Forms.UserControl
(orControl
) to Web page ? I am not talking about Asp.Net and i do not want to use it. (Asp.Net is great but i need to react to users input very fast without downloading web page again) I mean something like inserting (ActiveX conctol or Java applet) in the Web page. (I do not need to install this from web - everybody who will enter this page can have installed .Net framework and anything else). :confused: Thanks/* I'm sorry about my english but i hope you can understand this */
Google for "SimpleControl". Then google for "Chris Sells", because he's written a few articles on this subject (MSDN and MSDN magazine) Also look at http://www.sellsbrothers.com/wahoo[^], Make sure you know something about .Net code access security, permissions and codegroups, because you're gonna see security permission exceptions... VictorV