473,387 Members | 1,579 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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.redirect 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 1518
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="window.status='Help window';return true"
onmouseout="window.status=''" href="javascript: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,scrollbars=no,resizable= no,status=no,width='+w+',height='+h+'"';
/* calling the closeWindow() function. */
closeWindow();
newWin = window.open(url,'newWin',settings);
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.redirect 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
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...
0
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,...
3
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,...
3
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...
1
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...
7
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...
8
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...
11
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...
0
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...

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.