Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / January 2007

Tip: Looking for answers? Try searching our database.

Newbie question: Can I do this with ASPX?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ckkwan@my-deja.com - 31 Jan 2007 13:11 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.