Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
External JS and CSS Files
#2
If "/myIWProject.dll" is normal standard path of ISAPI please advice me for declare css or js file path to me for work fine on both SA and ISAPI.

such I want to refer to 
- CSS files : "assets/mycss.css" in folder wwwroot
- JS files : "assets/myjs.min.js" in folder wwwroot

How should I give string argument to AddBodyScriptFile and ContentFiles?
Now I using :

ContentFiles.Add('/assets/mycss.css');
PageContext.AddBodyScriptFile('/assets/myjs.min.js');

Them work fine for the SA but doesn't work for the ISAPI.

Thanks
Reply


Messages In This Thread
External JS and CSS Files - by baxing - 04-01-2023, 04:51 PM
RE: External JS and CSS Files - by baxing - 04-03-2023, 06:11 AM
RE: External JS and CSS Files - by brsoft - 04-04-2023, 07:12 AM
RE: External JS and CSS Files - by baxing - 04-04-2023, 09:29 AM
RE: External JS and CSS Files - by brsoft - 04-05-2023, 06:59 AM
RE: External JS and CSS Files - by baxing - 04-07-2023, 05:08 AM
RE: External JS and CSS Files - by baxing - 04-08-2023, 07:09 AM
RE: External JS and CSS Files - by baxing - 04-10-2023, 03:54 AM
RE: External JS and CSS Files - by baxing - 04-10-2023, 07:17 AM
RE: External JS and CSS Files - by baxing - 04-25-2023, 05:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)