Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to include javascript in aspx page

Reply
Thread Tools

How to include javascript in aspx page

 
 
AV
Guest
Posts: n/a
 
      08-06-2003
hi, I have javascripts for my Old ASP application i was
using
<script language="javascript" type="text/javascript"
src="scripts/validate_fields.js">
</script>

Can i do the same thing using Custom Validator?
thanks
 
Reply With Quote
 
 
 
 
HrtgSkr
Guest
Posts: n/a
 
      08-07-2003
If you mean can you do the same validations on the server side with a
custom validator, yes. You tie code-behind validation code to the
Page IsValid, which you check on a postback.
You can still, also, insert the script tag, enable client side
validation and insert the function call directly or programmatically
into the html.

Dawn.


"AV" <(E-Mail Removed)> wrote in message news:<a28201c35c5c$a2192790$(E-Mail Removed)>...
> hi, I have javascripts for my Old ASP application i was
> using
> <script language="javascript" type="text/javascript"
> src="scripts/validate_fields.js">
> </script>
>
> Can i do the same thing using Custom Validator?
> thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/* #include <someyhing.h> */ => include it or do not include it?That is the question .... Andreas Bogenberger C Programming 3 02-22-2008 10:53 AM
i'd like to include aspx page to aspx page uto ASP .Net 3 03-08-2006 03:56 PM
Re: How to include JavaScript in .aspx page Alvin Bruney [MVP] ASP .Net 2 09-22-2004 06:18 PM
How to include JavaScript in .aspx page =?Utf-8?B?Sm9l?= ASP .Net 0 09-22-2004 04:19 PM
include other aspx/html in my aspx page Mr. x ASP .Net 1 11-30-2003 11:56 PM



Advertisments