Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a very nasty problem with razor when trying to dynamically register Java Script Files. I am using umbraco 220.127.116.11. My script looks as follows:
The output "Registering Java Script" is displayed, so the code is executed. There is also no error Message. I have a header tag with runat="server", so the error is very unlikely to be found there. As a test I wrote an XSLT script, which was able to register the script files.
Is the function somehow broken in razor? Or am I doing something wrong?
Does anyone have an idea? Otherwise I would have to use an ugly workaround...
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted