Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
66 Points
154 Posts
May 07, 2012 06:22 PM|LINK
I'm not sure whether or not this is a java question or just .net so I'm posting it here.
I have this VB line which opens a new window containing the page at the URL shown. This works.
ClientScript.RegisterStartupScript(
Me.GetType(), "Message", "<script>window.open('" + "http://vhabrkxxx/Dev/GenericEmail/" + "')</script>")
Now instead of providing the URL I have a VB string called myhtml which contains the html string. What's the syntax to just provide the html directly instead of a URL? -thanks.
DaveBF
Member
66 Points
154 Posts
Open a new window containing in-memory html string in code behind.
May 07, 2012 06:22 PM|LINK
I'm not sure whether or not this is a java question or just .net so I'm posting it here.
I have this VB line which opens a new window containing the page at the URL shown. This works.
ClientScript.RegisterStartupScript(
Me.GetType(), "Message", "<script>window.open('" + "http://vhabrkxxx/Dev/GenericEmail/" + "')</script>")
Now instead of providing the URL I have a VB string called myhtml which contains the html string. What's the syntax to just provide the html directly instead of a URL? -thanks.