Home > Archive > ASP .NET > January 2007 > Newbie question: Can I do this with ASPX?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Newbie question: Can I do this with ASPX?
|
|
| ckkwan@my-deja.com 2007-01-31, 8:09 am |
| 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 2007-01-31, 8:09 am |
| C# is server-side only language. On client side you have javascript.
Ajax technology provides what you need.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
<ckkwan@my-deja.com> wrote in message
news:1170249073.091015.72410@s48g2000cws.googlegroups.com...
>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.
>
| |
| Kevin Spencer 2007-01-31, 8:09 am |
| What you need is Ajax. See http://ajax.asp.net/
--
HTH,
Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com
The shortest distance between 2 points is a curve.
<ckkwan@my-deja.com> wrote in message
news:1170249073.091015.72410@s48g2000cws.googlegroups.com...
>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.
>
| |
| Mark Rae 2007-01-31, 8:09 am |
| "Kevin Spencer" <unclechutney@nothinks.com> wrote in message
news:eFm3HwTRHHA.3444@TK2MSFTNGP03.phx.gbl...
> What you need is Ajax. See http://ajax.asp.net/
Or even this: http://anthemdotnet.com/ which makes it even easier...:-)
| |
| Laurent Bugnion [MVP] 2007-01-31, 7:13 pm |
| Hi,
Eliyahu Goldin wrote:
> 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
--
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
| |
| Laurent Bugnion [MVP] 2007-01-31, 7:13 pm |
| Hi,
ckkwan@my-deja.com wrote:
> 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.
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
--
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
|
|
|
|
|