[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

ASP.NET...  new form??

Posted on 2004-04-26
1
Medium Priority
?
243 Views
Last Modified: 2010-04-07
If I was developing a windows app I would have an event handler open a new form.

What is the equivalent of this in ASP.NET w/VB?

Thanks,
0
Comment
Question by:Weller0123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
dfiala13 earned 2000 total points
ID: 10922515
You can't do it from server side code.  You need to do it from a client-side method call in javascript (or vbscript).

Here's an example of a javascript call that opens the specified page in a new window with the given width, with no menubar or toolbar.

            <script language="javascript">
<!--
            function openPage(sPage, iWidth){
            
                  var winWidth = iWidth;
                  var winHeight = screen.height - 100;
                  var winProps = "resizable=no, toolbar=no, scrollbars=yes, menubar=no, location=no, status=yes, top=0, left=0, width=" + winWidth + ", height=" + winHeight;

                  window.open(sPage,"_blank",winProps, true);
                  return true;
            }
//-->
            </script>
0

Featured Post

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

649 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