Hi,
I'm running this code"
When the page opens it fails and shows the url as "
Seems it's encoding a piece of my string. the "\b" is getting encoded to %08
Is there a way to prevent this from happening
Thanks
-dan
I'm running this code"
Code:
Dim ShowArchiveFileIs as string = ("Articles\bbn07282015.htm")
Dim url As String = ShowArchiveFileIs
Dim sb As New StringBuilder()
sb.Append("<script type = 'text/javascript'>")
sb.Append("window.open('")
sb.Append(url)
sb.Append("');")
sb.Append("</script>")
ClientScript.RegisterStartupScript(Me.GetType(), "script", sb.ToString())
When the page opens it fails and shows the url as "
Seems it's encoding a piece of my string. the "\b" is getting encoded to %08
Is there a way to prevent this from happening
Thanks
-dan