Results 1 to 2 of 2

Thread: ?

  1. #1
    Join Date
    Dec 1969

    Default ?

    I have a javascript file for validation (validation.js). I want to call that file in asp.net page (example.aspx).<BR>Can anyone please help me on the ways to call .js file which can validate my fields on the form.<BR>Thanks in advance.

  2. #2
    Join Date
    Dec 1969

    Default The same

    way you did inside an .asp file!<BR>Simply include it.<BR><BR>*But* if you&#039;ve decided to change you html control to ASP Server Controls then not sure it&#039;ll work.<BR><BR>So to answer your question, yes you can include the .js file but if you changed the controls that the .js file was validating then it might not work.<BR><BR>Since you&#039;re using or moving on to the .NET world, why not forget about the .js file and create Server Controls using the validation controls to validate your fields? They are really fun to work with.<BR><BR>It&#039;s your choice!<BR><BR>Hope this helps!<BR>Sincerely<BR><BR>Vlince

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts