Friday, April 13, 2012

C# Verbatim String


string javaScript = string.Format(@"
<script type=text/javascript>
if(confirm('{0}')==1){{
window.open('{1}{2}');
}}
</script>",
message, baseUrl, page.ResolveUrl(pageUrl));

No comments: