hi friends
how can we call a java script flie in our aspx file (i.e) a seperate file
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Oct 15, 2007, 4:43 AM
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