Ever have the need to unescape a string in your code-behind?
Here's how:
value = Microsoft.JScript.GlobalObject.unescape(value);
Just remember to add a reference to Microsoft.JScript in your project.
You now have access to all javascript functions in your code-behind.
Comments
Leave a Comment