Hi friends
how can we call a java script flie in our aspx file (i.e) a seperate file
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Posted Oct 15, 2007, 12:43 AM EDT
hi this is the way from aspx
<
script language="javascript" src="ScriptFiles/XYZ.js">script>SRC : represents the destination of the file where my file is located i separate file called Script files likely ur vsh...
the below one form the cs
ScriptManager
.RegisterStartupScript(this, this.GetType(), "ScriptReg", "", false);u can even generate from xml file also depending on ur requirement