how to include .js file for one page using master page?
-
Hi, I want to include a .js file only for one particular page which is using master page. Since the .js file is very large and only for this particular page, I don't want to include it in Master page. Because it will add into every page that is using the master page. Also, I dont' want to convert all the functions in .js file into string to register through RegisterClientScriptEvent, again, because the functions are too long to convert. Is there a way to do it by NOT using the ways mentioned above? Any help would be appreciated! Thanks!
-
Hi, I want to include a .js file only for one particular page which is using master page. Since the .js file is very large and only for this particular page, I don't want to include it in Master page. Because it will add into every page that is using the master page. Also, I dont' want to convert all the functions in .js file into string to register through RegisterClientScriptEvent, again, because the functions are too long to convert. Is there a way to do it by NOT using the ways mentioned above? Any help would be appreciated! Thanks!
-
Hi, I want to include a .js file only for one particular page which is using master page. Since the .js file is very large and only for this particular page, I don't want to include it in Master page. Because it will add into every page that is using the master page. Also, I dont' want to convert all the functions in .js file into string to register through RegisterClientScriptEvent, again, because the functions are too long to convert. Is there a way to do it by NOT using the ways mentioned above? Any help would be appreciated! Thanks!
-
I did use RegisterClientScriptInclude to make it work. But I try to pass Form1 into Javascript function , it won't let me do it. Note, Form1 is form from master page. Any idea? Thanks!