How can I use the operator ~ in Client Elements
I need to use the operator ~ in client elements like is used in asp.net server controls.
By example :
1)Writing javascript code: parent.location.href('~/Pages/Test.aspx');
2)body1.Style.Add("background-image", url(~/imagens/back_logo_co.jpg)");
I was using Request.ApplicationPath but not worked.
Thanks for your help.
|