Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how can we write server side java script.In which situations we will go for server side java script.

help me.
Posted
Comments
janwel 10-Aug-11 0:12am    
try this link to help you out though i never use it http://msdn.microsoft.com/en-us/library/ms974588

I believe there's some databases and stuff that use javascript nowadays, but for all that, you need to buy an ASP.NET book and read it. ASP.NET uses C# and VB.NET on the server. It does not provide a server side interpreter for javascript, that's built in to the browser, not the server.
 
Share this answer
 
The is no such thing as server-side javascript in asp.net. You execute code in your code behind using any of the supported .net languages
 
Share this answer
 
Comments
Balu199 9-Aug-11 23:48pm    
But i was attended an Interview yesterday.The interviewer asked a question "How you debug server side Java Script".
janwel 10-Aug-11 0:10am    
then you should answer; there is no such thing as server side javascript it is only for client side ^_^. Maybe the interviewer is just trying you out.You can either use JScript.NET or Visual J#.
Christian Graus 10-Aug-11 0:55am    
If the interviewer asked that, I would have responded with 'I don't want to work here, you're an idiot'. This site is flooded often with people who go for jobs they are not qualified for, and who post their poor understanding of interview questions they could not follow. I doubt they asked that.
janwel 10-Aug-11 3:21am    
hahahah maybe he misunderstood the question
There is something called "ICallback" in asp.net.

Google it you will get... your Answer... :-)
 
Share this answer
 
Comments
Christian Graus 10-Aug-11 0:30am    
Wrong. AJAX callbacks run through javascript on the client, not the server.
janwel 10-Aug-11 3:20am    
hahahah
Muthu Nadar 10-Aug-11 8:28am    
ICallBackEventHandler does that...

You need to call the Javascript, it will then trigger the server side event and getback the values to the client side javascript.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900