question about response.redirect and javascript

B

Bob

Hi,

i want to use Response.Redirect with parameters but also restricting the
browser capabilities (no menubar, no title etc ...)

I know this in VB.net:

Sub page_load()
Dim qna, dir As String
qna = "xxx"
dir = "yyy"
Response.Redirect(String.Format("/enq.aspx?Item0={0}&Item1={1}",
qna, dir))
End Sub
</script>

I also know this in Javascript:

<script language="javascript" type="text/javascript">
xx="left=200,top=200,width=600,height=200,title=no,toolbar=no,
menubar=no,location=no,directories=no, scrollbars=yes"
a=window.open("enq.aspx","",xx)
</script>

But how to combine both codes?
Thanks
Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top