Solved

ClientScript.RegisterStartupScript

Posted on 2009-07-01
1
605 Views
Last Modified: 2013-11-26
hello

I am trying to open up a new window or a popup(called upload.aspx). How would I do that?
0
Comment
Question by:adimit
1 Comment
 
LVL 15

Accepted Solution

by:
mohan_sekar earned 500 total points
ID: 24757117
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
work allocation; web development; vba; access; 4 46
Duplicate a row 2 33
Exception in Log4Net 1 20
Set form below another form 3 26
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now