Following Rick Strahl’s example we evaluate javascript on the server.
Now I want to leverage jQuery. However, evaluating the jQuery script gives an error: ‘Expected identifier or string’ Any clue what this might be?
Ultimately I want to render jQuery Templates on the server in the same way as they are rendered in the browser.
There are a few way of evaluating Javascript on the server. Just a quick google on ‘Microsoft JScript’ or ‘VsaEngine’ will help you.
However, evaluating jQuery is not possible. A good explanation can be found here: http://jint.codeplex.com/Thread/View.aspx?ThreadId=80197
I am still interested in finding a solution.