473,408 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

C# script?

Hi!

Is possible to write a C# script and to run it in the client?
Nov 19 '05 #1
10 2026
No, browsers don't know what C# is.

Eliyahu

"Tarllem" <no@no.no> wrote in message
news:O7**************@TK2MSFTNGP15.phx.gbl...
Hi!

Is possible to write a C# script and to run it in the client?

Nov 19 '05 #2
Sure, just include it in a script tag like what you'll do with javascript,
and set language property to "csharp".

Note 1: Just like vbscript, it'll work on IE anyway.
Note 2: Just like any client-side script, you can't do anything a script
won't normally do without having it digitally signed.

And you may also be interested in taking a look at C# applet. When IE sees
the applet, it'll execute IEEXEC to run it. (Much like Java applet runtime)

"Tarllem" <no@no.no> ¦b¶l¥ó news:O7**************@TK2MSFTNGP15.phx.gbl ¤¤¼¶
¼g...
Hi!

Is possible to write a C# script and to run it in the client?

Nov 19 '05 #3
Oh, I saw there is a "csharp" popup in the IDE, but forgotten that it's only
valid in server-side. So while my comment on C# Applet remains valid, you
cannot run C# script directly on the client.

"Lau Lei Cheong" <le****@yehoo.com.hk> ¦b¶l¥ó
news:uM**************@TK2MSFTNGP15.phx.gbl ¤¤¼¶¼g...
Sure, just include it in a script tag like what you'll do with javascript,
and set language property to "csharp".

Note 1: Just like vbscript, it'll work on IE anyway.
Note 2: Just like any client-side script, you can't do anything a script
won't normally do without having it digitally signed.

And you may also be interested in taking a look at C# applet. When IE sees
the applet, it'll execute IEEXEC to run it. (Much like Java applet runtime)
"Tarllem" <no@no.no> ¦b¶l¥ó news:O7**************@TK2MSFTNGP15.phx.gbl ¤¤ ¼¶ ¼g...
Hi!

Is possible to write a C# script and to run it in the client?


Nov 19 '05 #4
re:
Sure, just include it in a script tag like what you'll do
with javascript, and set language property to "csharp".
And set "runat="client" ?

;-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Lau Lei Cheong" <le****@yehoo.com.hk> wrote in message
news:uM**************@TK2MSFTNGP15.phx.gbl... Sure, just include it in a script tag like what you'll do with javascript,
and set language property to "csharp".

Note 1: Just like vbscript, it'll work on IE anyway.
Note 2: Just like any client-side script, you can't do anything a script
won't normally do without having it digitally signed.

And you may also be interested in taking a look at C# applet. When IE sees
the applet, it'll execute IEEXEC to run it. (Much like Java applet
runtime)

"Tarllem" <no@no.no> ¦b¶l¥ó news:O7**************@TK2MSFTNGP15.phx.gbl
¤¤¼¶
¼g...
Hi!

Is possible to write a C# script and to run it in the client?


Nov 19 '05 #5
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:uI****************@TK2MSFTNGP15.phx.gbl...
re:
Sure, just include it in a script tag like what you'll do
with javascript, and set language property to "csharp".


And set "runat="client" ?


You should also specify the page directive @IfThisWorks=ItllBeAMiracle

;-)
Nov 19 '05 #6
Yes! It run sucessfully with the directive @IfThisWorks=ItllBeAMiracle!!!
:D
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> escribió en el mensaje
news:%2***************@TK2MSFTNGP15.phx.gbl...
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:uI****************@TK2MSFTNGP15.phx.gbl...
re:
Sure, just include it in a script tag like what you'll do
with javascript, and set language property to "csharp".


And set "runat="client" ?


You should also specify the page directive @IfThisWorks=ItllBeAMiracle

;-)

Nov 19 '05 #7
Hello Eliyahu,
No, browsers don't know what C# is.


Yet...

--
Matt Berther
http://www.mattberther.com

Nov 19 '05 #8
And I wonder why you people simply neglect my correction post... -_-;

I admit that it's my fault for just depend on the VS.NET IDE to say that
it'll work and not check more deeply, but don't you two feel that it's gone
a little bit too far when I post the correction at once, especially before
you people's post?

"Tarllem" <no@no.no> ¦b¶l¥ó news:Oq**************@TK2MSFTNGP09.phx.gbl ¤¤¼¶
¼g...
Yes! It run sucessfully with the directive @IfThisWorks=ItllBeAMiracle!!!
:D
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> escribi?en el mensaje
news:%2***************@TK2MSFTNGP15.phx.gbl...
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:uI****************@TK2MSFTNGP15.phx.gbl...
re:
Sure, just include it in a script tag like what you'll do
with javascript, and set language property to "csharp".

And set "runat="client" ?


You should also specify the page directive @IfThisWorks=ItllBeAMiracle

;-)


Nov 19 '05 #9
Don't feel badly, Lau.
It's only some friendly chain-pulling. :-)

btw, I read your correction post *after* sending my reply.
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Lau Lei Cheong" <le****@yehoo.com.hk> wrote in message
news:Ob**************@TK2MSFTNGP09.phx.gbl...
And I wonder why you people simply neglect my correction post... -_-;

I admit that it's my fault for just depend on the VS.NET IDE to say that
it'll work and not check more deeply, but don't you two feel that it's
gone
a little bit too far when I post the correction at once, especially before
you people's post?

"Tarllem" <no@no.no> ¦b¶l¥ó news:Oq**************@TK2MSFTNGP09.phx.gbl
¤¤¼¶
¼g...
Yes! It run sucessfully with the directive @IfThisWorks=ItllBeAMiracle!!!
:D
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> escribi?en el mensaje
news:%2***************@TK2MSFTNGP15.phx.gbl...
> "Juan T. Llibre" <no***********@nowhere.com> wrote in message
> news:uI****************@TK2MSFTNGP15.phx.gbl...
>> re:
>>> Sure, just include it in a script tag like what you'll do
>>> with javascript, and set language property to "csharp".
>>
>> And set "runat="client" ?
>
> You should also specify the page directive @IfThisWorks=ItllBeAMiracle
>
> ;-)
>



Nov 19 '05 #10
Certainly, friendly.

"Juan T. Llibre" <no***********@nowhere.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP14.phx.gbl...
Don't feel badly, Lau.
It's only some friendly chain-pulling. :-)

btw, I read your correction post *after* sending my reply.
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Lau Lei Cheong" <le****@yehoo.com.hk> wrote in message
news:Ob**************@TK2MSFTNGP09.phx.gbl...
And I wonder why you people simply neglect my correction post... -_-;

I admit that it's my fault for just depend on the VS.NET IDE to say that
it'll work and not check more deeply, but don't you two feel that it's
gone
a little bit too far when I post the correction at once, especially
before
you people's post?

"Tarllem" <no@no.no> ¦b¶l¥ó news:Oq**************@TK2MSFTNGP09.phx.gbl
¤¤¼¶
¼g...
Yes! It run sucessfully with the directive
@IfThisWorks=ItllBeAMiracle!!!
:D
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> escribi?en el mensaje
news:%2***************@TK2MSFTNGP15.phx.gbl...
> "Juan T. Llibre" <no***********@nowhere.com> wrote in message
> news:uI****************@TK2MSFTNGP15.phx.gbl...
>> re:
>>> Sure, just include it in a script tag like what you'll do
>>> with javascript, and set language property to "csharp".
>>
>> And set "runat="client" ?
>
> You should also specify the page directive @IfThisWorks=ItllBeAMiracle
>
> ;-)
>



Nov 19 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Mike Daniel | last post by:
I am attempting to use document.write(pageVar) that displays a new html page within a pop-up window and the popup is failing. Also note that pageVar is a complete HTML page containing other java...
1
by: bayouprophet | last post by:
Cant get menu script to to put linked page in the same frame. I am new to Java and I am wondering what am I doing wrong? below are my java applet file, frame.html file, and my text file and one...
1
by: Allen | last post by:
I am trying to add an additional photo/hyperlink to the company web site (I didn't create it) without any luck. The mouseover feature 'highlights' pics by swapping them with another pic using this...
3
by: Water Cooler v2 | last post by:
Questions: 1. Can there be more than a single script block in a given HEAD tag? 2. Can there be more than a single script block in a given BODY tag? To test, I tried the following code. None...
2
by: bilaribilari | last post by:
Hi all, I am using Tidy (C) for parsing html pages. I encountered a page that has some script as follows: <script> .... var abc = "<script>some stuff here</" + "script>"; .... </script>
19
by: thisis | last post by:
Hi All, i have this.asp page: <script type="text/vbscript"> Function myFunc(val1ok, val2ok) ' do something ok myFunc = " return something ok" End Function </script>
3
by: rsteph | last post by:
I have a script that shows the time and date. It's been working on my site for quite a while now. Suddenly it stops showing up, after getting my drop down menu to work. If I put text between the...
3
by: Angus | last post by:
I have a web page with a toolbar containing a Save button. The Save button can change contextually to be a Search button in some cases. Hence the button name searchsavechanges. The snippet of...
7
by: imtmub | last post by:
I have a page, Head tag Contains many Scripts and style sheet for Menu and Page. This code working fine and displaying menus and page as i wanted. Check this page for reference....
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.