473,398 Members | 2,812 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,398 software developers and data experts.

JavaScript vs C# in AJAx

344 100+
Hi,
I'm new in AJAX, I knew that AJAX was built on JavaScript, XML, HTML, and CSS.
I didn't deal with JavaScript before, I wonder if there is a way to impelement my methods using C# instead of JavaScript, they are so close, but if there is away to use C# it will progress my effort.
Thanks,
Bassem
Feb 19 '09 #1
8 2892
Bassem
344 100+
I tried to read some in JavaScript. And I think that it is not close to C#, and now it gets more complicated.
Feb 19 '09 #2
gits
5,390 Expert Mod 4TB
the javascript-code that is needed for an ajax-application is executed at the client-side within the browser ... so you cannot use c# for this task ... the J in AJAX stands for JavaScript and it stands there for the mentioned reason ...

kind regards
Feb 19 '09 #3
Bassem
344 100+
I see that, thanks alot. So i've no way to learn JavaScript.
Thanks,
Bassem
Feb 19 '09 #4
gits
5,390 Expert Mod 4TB
:) why not? ... it is quite easy to learn javascript ... but it is more tricky to use it the smart way in practical projects :) ... but without javascript a website is quite simple and cannot use state of the art AJAX-(JavaScript)-techniques. but as you may see when having a look at the GWT you don't need to know JavaScript since you just write Java-Code that is translated to the needed JavaScript code then. i'm not aware of anything that might do this with c# but that doesn't mean that there is no toolkit like the GWT for that ... it is just because i try to regret using any MS things :) ... but may be the .NET-bunch of things has something similar to the GWT?

kind regards
Feb 19 '09 #5
Frinavale
9,735 Expert Mod 8TB
@Bassem
You can use C# to dynamically generate JavaScript, Ajax, CSS etc...
But you cannot implement JavaScript with the C# language ;)
They are totally different languages used in totally different environments.
C# is used on the Server with the .NET Framework behind it
JavaScript and Ajax are used in the web browser, client side in it's own world.

@Bassem
The are not close at all....check out my day of learning about Objects in JavaScript

@Bassem
Oh trust me there is a way...............
Just try implementing an Ajax enabled Server Control some day.
You'll learn very quickly, trust me.

;) ;) ;)
Feb 20 '09 #6
Frinavale
9,735 Expert Mod 8TB
@gits
What is GWT?
I might be able to answer this question if I knew what GWT is.
Feb 20 '09 #7
gits
5,390 Expert Mod 4TB
hi ... have a look here ;)

kind regards
Feb 20 '09 #8
Bassem
344 100+
Thanks gits and frinny for your help, I'm moving forward now.
Thanks a lot,
Bassem
Feb 24 '09 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: John Smith | last post by:
I am using Ajax to refresh a DIV area by setting the innerHTML=request.responseText in the usual manner. in the response text I have a <SCRIPT> tag in line, but this is not executed. Is there a way...
2
by: sgmaat | last post by:
I have create a AJAX webpage where if you press a link content is loaded into a div. NOw when this content is loaded no javascript is processed (i.e <Script>alert(..);</script>), but if the...
6
by: RC | last post by:
Is AJAX built on top of JavaScript? What browsers supported AJAX? Can someone tell me some link introduce about AJAX?
0
by: Free Ebooks | last post by:
81 AJAX and 24 JavaScript Ebooks Here are some of the AJAX topics and areas covered by these ebooks: Rails and AJAX Building Ajax Web Applications Creating Ajax Web Pages Ajax Patterns Ajax...
2
by: Nathan Sokalski | last post by:
I am moving my website from my machine to my webhost, and need some help with what extra files I need to include due to the fact that I used AJAX in my site. Everything on the site is obviously...
10
by: paulie | last post by:
Hi, I have been experiencing an issue when trying to use AJAX to reload a DIV area using a timer of 2000ms, which contains a html page with another DIV and javascript. Scenario -------------...
4
by: ton | last post by:
Hi, I wander what to do. I'm developing a webapplication. One of the parts is to show records from a database. To modifiy a value, text of relational link or date I would like to use Ajax where...
3
by: pablosuk78 | last post by:
Dear coders, I'm facing a problem and after few research I found that many ppl were looking around for the same solution, hope someone more expert than me could give a good help. I created an...
5
by: quirk | last post by:
I am trying to write a script where a page is populated with some maths questions, user answers them (it's timed but I've left this bit out), gets results on same page and ajax takes their score,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.