I am using C#, and woud like to know if it is possible for me to write
Client-Side code with C#?
Can't really find any good examples in the web, all are using
javascript only.
What I need to do is very simple, at the client side, connect to an
application in the server, retrieve some info and update a html
control without refreshing the whole page.
I can do that with Java Applet, but can't figure out how to do this
with ASPX
TIA.
Eliyahu Goldin - 31 Jan 2007 13:23 GMT
C# is server-side only language. On client side you have javascript.
Ajax technology provides what you need.

Signature
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
>I am using C#, and woud like to know if it is possible for me to write
> Client-Side code with C#?
[quoted text clipped - 10 lines]
>
> TIA.
Laurent Bugnion [MVP] - 31 Jan 2007 19:01 GMT
Hi,
> C# is server-side only language. On client side you have javascript.
That's not true anymore ;-) WPF is client-side, and you can definitely
program XBAPs in C#.
And in May, we should get WPF/E, where it's going to be possible to run
controls written in XAML/C# (and also JavaScript) integrated in a
webpage on the client.
> Ajax technology provides what you need.
That's probably true :-)
Greetings,
Laurent

Signature
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
Kevin Spencer - 31 Jan 2007 13:30 GMT
What you need is Ajax. See http://ajax.asp.net/

Signature
HTH,
Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com
The shortest distance between 2 points is a curve.
>I am using C#, and woud like to know if it is possible for me to write
> Client-Side code with C#?
[quoted text clipped - 10 lines]
>
> TIA.
Mark Rae - 31 Jan 2007 13:42 GMT
> What you need is Ajax. See http://ajax.asp.net/
Or even this: http://anthemdotnet.com/ which makes it even easier...:-)
Laurent Bugnion [MVP] - 31 Jan 2007 19:03 GMT
Hi,
> I am using C#, and woud like to know if it is possible for me to write
> Client-Side code with C#?
[quoted text clipped - 10 lines]
>
> TIA.
You may want to take a look at Nikhil Kothari's Script#. Caveat: I never
used it (I prefer to write my scripts myself), so I cannot tell you if
it's really good, but it looks promising for people who don't know
JavaScript.
http://www.nikhilk.net/ScriptSharpIntro.aspx
Greetings,
Laurent

Signature
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