after a user clicks a button on my page, I want it to open a new browser window. I am trying to use a literal control to do it, but it isn't working. It does add the code to the page when you view it in the browser using view/source.
here is my code
Dim sb As New StringBuilder()
sb.Append("window.open('testsens.aspx?recid=" & grabCurrent.SelectedValue & "','" & grabCurrent.SelectedItem.Text & "','width=600,height=500,resizable=1');")
lit1.Text = sb.ToString