I am trying to set some javascript data (json) in my markup by calling a method in my codebehind file. The markup is as follows:
Line 12: var businessTypes = "<%=GetBusinessTypes(); %>";
The method is executed and it returns a string value, but then this exception is thrown
CS1026 :) expected
repainting the line 12 shown above.
source
share