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

Using javascript client from ASPX page

Hello,

In Visual Studio .NET 2003,
How can I use javascript/vbscript (client code & server code) from ASPX
page,
javascript is an external file, (MyJavascriptCode.js).

Need sample code, please.

Thanks :)
Nov 19 '05 #1
3 1405
"John M" <nobody@nospam_please.com> wrote in news:uf#wVO9VFHA.1148
@tk2msftngp13.phx.gbl:
Hello,

In Visual Studio .NET 2003,
How can I use javascript/vbscript (client code & server code) from ASPX
page,
javascript is an external file, (MyJavascriptCode.js).

Take a look at RegisterClientScriptBlock and Control.Attributes.Add
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #2
Maybe it's just me, but I can't tell what you're asking ( I spend so much
time programming I think like a computer I suppose). Perhaps you could
provide specific details about what you're trying to accomplish.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"John M" <nobody@nospam_please.com> wrote in message
news:uf****************@tk2msftngp13.phx.gbl...
Hello,

In Visual Studio .NET 2003,
How can I use javascript/vbscript (client code & server code) from ASPX
page,
javascript is an external file, (MyJavascriptCode.js).

Need sample code, please.

Thanks :)

Nov 19 '05 #3
Let me explain again ... :

Html can use javascript.
The javascript may be in the same html file, or in another file,
such as my_javascript.js.
I want to know about the common way used by Visual Studio .NET 2003,
that the html file would "know" the my_javascript.js file.

Same thing for *.aspx.

Thanks :)
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:eZ**************@TK2MSFTNGP09.phx.gbl...
Maybe it's just me, but I can't tell what you're asking ( I spend so much
time programming I think like a computer I suppose). Perhaps you could
provide specific details about what you're trying to accomplish.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"John M" <nobody@nospam_please.com> wrote in message
news:uf****************@tk2msftngp13.phx.gbl...
Hello,

In Visual Studio .NET 2003,
How can I use javascript/vbscript (client code & server code) from ASPX
page,
javascript is an external file, (MyJavascriptCode.js).

Need sample code, please.

Thanks :)


Nov 19 '05 #4

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

Similar topics

1
by: Mike | last post by:
When trying to compile (using Visual Web Developer 2005 Express Beta; frameworkv2.0.50215 ) the source code below I get errors (listed below due to the use of ICallBackEventHandler. Ultimately I...
2
by: sushi | last post by:
Hello, I am developing an asp.net website. I have a web fomr say' webform1.aspx' having two input button html controls. When I click on 'button1' a message appears. Following code is executed o...
11
by: trinitypete | last post by:
Hi all, I have a user control that uses control literal to build a heading with a link, and a div containing links below. As the link heading is hit, I want to change the style of the div,...
5
by: Michelle Stone | last post by:
Hi everybody I am writing a simple asp.net application using form authentication. I store the list of all users and their passwords in an SQL Server database table. My client recently told me...
2
by: Alex | last post by:
Hi all, I'm writing a small web application which searches a database based on a date field, and populates a datagrid control with the results. The datagrid control has selection buttons added...
0
by: viktor9990 | last post by:
I have a page called CustomerSlides.aspx which contains an iframe(with the source Lookupage.aspx). The iframe page will look continuously in the database to see if a value has changed: if it is...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
4
by: James Pemberton | last post by:
I have recently created a ASP site utilizing Master Pages and all works fine until I want to proces my javascripts. Just to let you know, most of cliewnt side scripting is new to me. But...
3
by: jesper_lofgren | last post by:
Hello, I have a problem, i have a event in asp.net codebehind file that updating a datasource. If that update went well i want to refresh my treeview thats on another page. The script works...
6
by: bushi | last post by:
hi everyone! i have diplayed my hyperlinks in a iframe.when i redirect to next page.the next page also open in the same frame,but i want to open a new browser window,when i click on the...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.