Hi expert,
I am using c# on server side and javascript on client side. I want to use one string for which OI am using escape() function of javascript. Now I want to unescape it on server side with the help of c#.
So, is there any function similer to unescape() in c#. I know escape() and unescape() of c# which is present in System.Text.RegulerExpressions but the wey this function works is different then the way the javascript's function works. I mean encodeing and decodeing style.
Even I tried with server.URLDecode this function also uses some different encodeing style than the escape or unescape.
If there is no any similer function in C# then somewhere can I get the code of escape() function of javascript so that I can write my own escape() for c#.
Thanks
Bharat
I am using c# on server side and javascript on client side. I want to use one string for which OI am using escape() function of javascript. Now I want to unescape it on server side with the help of c#.
So, is there any function similer to unescape() in c#. I know escape() and unescape() of c# which is present in System.Text.RegulerExpressions but the wey this function works is different then the way the javascript's function works. I mean encodeing and decodeing style.
Even I tried with server.URLDecode this function also uses some different encodeing style than the escape or unescape.
If there is no any similer function in C# then somewhere can I get the code of escape() function of javascript so that I can write my own escape() for c#.
Thanks
Bharat