Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 8th, 2003, 11:14 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aadz5
Default Using more than one scripting language

Can I use c# and javascript on the sam page??

Adz - Portsmouth Massive
__________________
Adz - Learning The J2EE Ways.
 
Old November 8th, 2003, 02:41 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Yes, you can. C# is used to execute at the server, while the JavaScript is sent to the browser and then executed there, at the client.

Do you have any specific examples in mind? Sending JavaScript to the client can be very easy (simply put it between <script language="JavaScript" type="text/javascript"> tags), or it can be a bit tricky, if you want to attach client side script to controls based on stuff that happens on the server.

If you can be a bit more specific, I might be able to give a more comprehensive answer.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Python as scripting language for ASP manikandeswar Classic ASP Professional 1 June 2nd, 2008 01:06 PM
Scripting.FileSystemObject mcinar Classic ASP Basics 2 April 4th, 2005 07:14 AM
Scripting depesh Beginning VB 6 2 January 5th, 2005 04:35 PM
Choice of scripting language for an ecommerce site abe MySQL 1 March 25th, 2004 12:02 PM
scripting language error jqchen7797 ASP.NET 1.0 and 1.1 Basics 4 July 29th, 2003 03:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.