How to pass a variable from asp.net to JavaScript?
You can use this in your code behind:
public string json;
you need to give it a value
In your JavaScript you can enter: