473,597 Members | 2,726 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

opening new web page in asp.net

hi,
I have a web application with a help link. On the click of the help link
user see a html page. I do response.redire ct to url in my code. The vb.net
application that user was using gets overloaded with html page. Is there a
way to display this html in a new web page so that user can see both the web
application and this html page.

Nov 19 '05 #1
1 1532
Hello Sushil - I think a nice way to do this would be with a popup window
using javascript:

In the aspx page use a link like this:
<A onmouseover="wi ndow.status='He lp window';return true"
onmouseout="win dow.status=''" href="javascrip t:popupWindow(' Help.html',450, 350)">help link</A>

Couple that link with a bit of javascript:

<script type="text/javascript">
<!--
/* first, declare the variable newWin that will be used
for the new window object, so that we can refer to it later. */
var newWin;

/* the basic window opening function. */
function popupWindow(url ,w,h)
{
settings = '"toolbar=no ,
directories=no, menubar=no,scro llbars=no,resiz able=no,status= no,width='+w+', height='+h+'"';
/* calling the closeWindow() function. */
closeWindow();
newWin = window.open(url ,'newWin',setti ngs);
newWin.focus();
}

/* the closeWindow function */
function closeWindow()
{
if (newWin && !newWin.closed)
{
newWin.close();
}
}
You can probably do something in asp.net to open a new browser window, but I
kinda like this because it's done as a pop-up window.

--
brians
http://www.limbertech.com
"Sushil Prasad" wrote:
hi,
I have a web application with a help link. On the click of the help link
user see a html page. I do response.redire ct to url in my code. The vb.net
application that user was using gets overloaded with html page. Is there a
way to display this html in a new web page so that user can see both the web
application and this html page.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
11062
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a window.open function? I would prefer not to create a separate HTML page. So far all I have is the basic var cwin = window.open('images/KJV-THANKS.gif', 'Thanks', 'width=243,height=420,'); cwin.focus();
0
1059
by: Alex A. | last post by:
I have an html frameset page called index.htm. I have a frame that points to ae.aspx, I've changed the frame to point now at default.aspx. Yet when I run in debug mode I'm still opening ae.aspx, but when I run directly from my localhost I get the right default.aspx. I'm assuming that VS 2005 is opening a cached version of my index.htm. 1) Where would the cache be?
3
2131
by: Larry Bud | last post by:
Wanting to use a technology I saw for one of our apps. We have several apps that a user logs in at on the same page. The app is determined by a drop down. User credentials are checked, response.redirect to the application. The user ID is stored in a session variable which determines if the user is logged in. When the session var goes blank, the user is redirected to the login page. A header on each page checks this. Now, some...
3
2643
by: Bonzol | last post by:
Vb.Net 2003, 1.1. Web application. Hey there I have this, Response.Redirect("FileFiew.aspx") to go to a new page, but how do I open that page in a new window? So I will have 2 pages open,, the original page, and the page I opened.
1
3038
by: celoftis | last post by:
BACKGROUND: I have some PPT slides that have been converted to HTM (ensuring that the show slide animations while browsing checkbox is checked). The original HTM slides have custom animations to allow movie (wmv) playback on mouse click. (All animations have been verified to work when viewing slides in ppt.) Further, I have ensured that the converted HTM file(s) contain only relative file paths. SITUATION #1 When I open the converted...
7
3246
by: Martien van Wanrooij | last post by:
I have been faced a couple of times with the situation that I wanted to write a script and was worried about a too frequent opening and closing mysql connections. To give some examples: 1)I am trying to develop a photoalbum (also posted a topic called "array / mysql question"). Of course I can use some wonderful open source albums but at the same time I want to get more familiar with all the ins and outs so my idea is a list of...
8
4954
by: John | last post by:
hi Everybody, I just made a simple web site using Frontpage 2003 with a simple MS Accesss database. IF I try to open the asp page in a browser by typing http://localhost/mysite/db.asp it opens just fine However if I try to opeb it by typing c:/mysite/db.asp I get the following error message:
11
3509
by: emailus | last post by:
I am webmaster for the domain <www.alpha1.org.au>. Not being an expert in html, I take advantage of my domain Registrant's web building tool, 'Instant Website'. This tool is provided as part of the fee I pay for web hosting. 'Instant Website' provides the option of having your opening page as a Flash Page, which you'll see if you visit <www.alpha1.org.au>. Well, you'll see it if you visit from a Windows machine. For some reason, when...
0
1039
by: KavithaSing | last post by:
Hi everyone, In our website we have an option ‘official login’ for users to login and send information through the site. We face the following problem while loggin in. We use the following sequence. From the home page, index.html, a hyperlink on ‘official login’ will open the page testlogin.htm. In the testlogin.htm, we get userid and password and submit the form like this. <form name=login method="POST" action="verify.asp"> When we give...
1
1789
by: T | last post by:
Currently there is an excel shortcut available on the network with links to 30 or so access db (97 & 2003), since the users are complaining about all the messages from excel (already open, do you want to save etc), I thought about creating a html file that would accomplish the same thing, exept now I get the message do you want to save the file, and of course I don't. What is the quickest / easist way to create an interface on the...
0
7979
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8281
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8381
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6706
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5847
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5437
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3937
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2409
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1497
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.