473,378 Members | 1,564 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,378 software developers and data experts.

Do you need to use Java script in ASP .Net?

Hi, Experts,
With the great functionalities in ASP .net, do we still need to use
JavaScript? Thanks

Jerry

Nov 17 '05 #1
3 2295
You don't 'have to' use javascript in the page. you can always use
attributes and code behind to emit javascript, or stream the javascript from
the server. with that said, it's often easier just to write the javascript
in the page itself. Clientside stuff will always be rendered with javascript
or whatever the scripting language is. that's the nature of the beast but
..net has removed a lot of the hassle.

"Jerry" <JG******@rogers.com> wrote in message
news:xn*******************@news04.bloor.is.net.cab le.rogers.com...
Hi, Experts,
With the great functionalities in ASP .net, do we still need to use
JavaScript? Thanks

Jerry

Nov 17 '05 #2
Steve and Alvin, thank you for your reponses. Then I will embed the
Javascripts in web forms when necessary. Thanks again.
Jerry
"Alvin Bruney" <vapordan_spam_me_not@hotmail_no_spamhotmail.com > wrote in
message news:uL**************@TK2MSFTNGP10.phx.gbl...
You don't 'have to' use javascript in the page. you can always use
attributes and code behind to emit javascript, or stream the javascript from the server. with that said, it's often easier just to write the javascript
in the page itself. Clientside stuff will always be rendered with javascript or whatever the scripting language is. that's the nature of the beast but
.net has removed a lot of the hassle.

"Jerry" <JG******@rogers.com> wrote in message
news:xn*******************@news04.bloor.is.net.cab le.rogers.com...
Hi, Experts,
With the great functionalities in ASP .net, do we still need to use
JavaScript? Thanks

Jerry


Nov 17 '05 #3
Another point: An ASP.Net is an application with both server-side and
client-side functionality. Good development technique dictates that one
should make the best possible use of resources both on the client and on the
server. Anything you can put on the client to process is going to save you a
bunch of resources on the server, as the client is only processing for
itself, while the server is processing for ALL clients, which can be quite a
few if your web site has any traffic at all. JavaScript is a vital aspect of
ASP.Net technology (how else could you use ViewState, for one?). Disabling
it, or trying to do without it, is counter-productive.

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Some things just happen.
Everything else occurs.

"Jerry" <JG******@rogers.com> wrote in message
news:Ez******************@news04.bloor.is.net.cabl e.rogers.com...
Steve and Alvin, thank you for your reponses. Then I will embed the
Javascripts in web forms when necessary. Thanks again.
Jerry
"Alvin Bruney" <vapordan_spam_me_not@hotmail_no_spamhotmail.com > wrote in
message news:uL**************@TK2MSFTNGP10.phx.gbl...
You don't 'have to' use javascript in the page. you can always use
attributes and code behind to emit javascript, or stream the javascript

from
the server. with that said, it's often easier just to write the javascript in the page itself. Clientside stuff will always be rendered with

javascript
or whatever the scripting language is. that's the nature of the beast but .net has removed a lot of the hassle.

"Jerry" <JG******@rogers.com> wrote in message
news:xn*******************@news04.bloor.is.net.cab le.rogers.com...
Hi, Experts,
With the great functionalities in ASP .net, do we still need to use
JavaScript? Thanks

Jerry



Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: lawrence | last post by:
I want to offer my friends a ping service, where certain of their pages will be called once a week. My impression is that no PHP script can be made to run very long. Assuming a situation where I...
0
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ...
4
by: Laura P | last post by:
Hi, I wasn't sure whether this should be posted in the Java are or in a Solaris thread, so I shall post it in both. Sorry for the duplication. I am new to Solaris and am having trouble...
8
by: Johnny Knoxville | last post by:
I've added a favicon to my site (http://lazyape.filetap.com/) which works fine if you add the site to favourites the normal way, but I have some JavaScript code on a couple of pages with a link,...
0
by: Mircea Pleteriu | last post by:
Hi all, I have created a .NET Windows control with c#. I have placed the control on a HTML page within the OBJECT element. Everything works fine up to now. Now, I wanna implement the...
3
by: RC | last post by:
Dear Dudes, I post this in multiple groups for opening brain storm. Sometime I need to query the data from database server then display them into user's browser in HTML <table>. But if the...
4
by: Brie_Manakul | last post by:
I need to set up an if else to show different weather scripts based on the city selection they choose. Any help on this would be great. Thanks! <%@ page language="java" import="java.util.*,...
9
by: Mickey Segal | last post by:
The long-simmering Eolas patent dispute: http://www.microsoft.com/presspass/press/2003/oct03/10-06EOLASPR.mspx has led to an optional Microsoft Update: http://support.microsoft.com/kb/912945/en-us...
4
by: Quill_Patricia | last post by:
I have a Python script which is used to load data into a database. Up to now this script has been run by customers from the Windows command prompt using "python edg_loader.pyc". Any error messages...
0
by: tosreejithp | last post by:
Hi, My first problem was i am not able to compiled a file from java script to java class.Now its clear and working fine..now i can convert a java script file to java class by Rhino Java Script...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.