esposito
Centurion
Hello, I would like to open a popup page in ASP.NET (VB.NET) transporting a value from the calling form to the popup page.
Now, to tranfer a value from a page to another, first I declare the classes for the values to be exported and then I use the following code:
To get a popup page, I use the following Javascript:
What I can't do is get both functions at the same time, i.e. I can't export a value to a popup page.
Any help will be appreciated.
Now, to tranfer a value from a page to another, first I declare the classes for the values to be exported and then I use the following code:
Visual Basic:
Server.Transfer ("newwin.aspx?AccessKey=" & "mykey")
To get a popup page, I use the following Javascript:
Visual Basic:
Sub btnPopup_Click(sender As Object, e As EventArgs)
Dim sScript As String
sScript = "<script>window.open('newwin.aspx','','height=100','width=100','scrollbars=no');<" & "/script>"
Response.Write(sScript)
End Sub
What I can't do is get both functions at the same time, i.e. I can't export a value to a popup page.
Any help will be appreciated.