Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 661
  • Last Modified:

ClientScript.RegisterStartupScript

hello

I am trying to open up a new window or a popup(called upload.aspx). How would I do that?
0
adimit
Asked:
adimit
1 Solution
 
mohan_sekarCommented:
sample code
Dim JS As String = " function openWin() { window.open('upload.aspx','mywindow1','toolbar=no,status=no,menubar=no'); } openWin();"

Me.ClientScript.RegisterStartupScript(Me.GetType, "newwin", JS, False)
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now