473,414 Members | 1,989 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,414 software developers and data experts.

Syntax for a aspx popup window

Hi

How do I create a hyperlink to another aspx page and make this page a popup
page receiving a parametre from the parent page. It is the popup part that I
am having problems with. What is the syntax? I am also interessted in knowing
how to set the hight and width of the popup window.

Thanks
"Namespace"
Nov 19 '05 #1
3 4539
You need to use javascript call showModalDialog(...). Look in the help for
the syntax. You will find where to put the height and width.

Eliyahu

"Namespace" <Na*******@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
Hi

How do I create a hyperlink to another aspx page and make this page a popup page receiving a parametre from the parent page. It is the popup part that I am having problems with. What is the syntax? I am also interessted in knowing how to set the hight and width of the popup window.

Thanks
"Namespace"

Nov 19 '05 #2
Hi!
Use the window.open("MyPage.aspx?parameter=1") in <a> element

Hope that helps!
Regards,
Kostadin Kostov

"Namespace" wrote:
Hi

How do I create a hyperlink to another aspx page and make this page a popup
page receiving a parametre from the parent page. It is the popup part that I
am having problems with. What is the syntax? I am also interessted in knowing
how to set the hight and width of the popup window.

Thanks
"Namespace"

Nov 19 '05 #3
Here is MS reference for the ShowModalDialog.

http://msdn.microsoft.com/library/de...odaldialog.asp

You can pass a parameter through the querystring.

bill

"Namespace" <Na*******@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
Hi

How do I create a hyperlink to another aspx page and make this page a popup page receiving a parametre from the parent page. It is the popup part that I am having problems with. What is the syntax? I am also interessted in knowing how to set the hight and width of the popup window.

Thanks
"Namespace"

Nov 19 '05 #4

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

Similar topics

1
by: Noozer | last post by:
When using the WebBrowser control, is it possible to cause popup windows to appear within the WebBrowser control itself instead of a new window? This is what I've written in the NewWindow2 event,...
2
by: Moon | last post by:
Seems I still haven't got the hang of all those window generating code in Javascript. I've got a page with about 15 photo thumbnails. When you click on a thumbnail a new window pops up which shows...
15
by: | last post by:
So many websites can get around my Googlebar's popup blockers. Even Opera 8 can not stop those popups. I looked into the codes, and I can find nothing showing me how it is done. Can anyone help me...
3
by: Stevie_mac | last post by:
It might be me but... I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I do geta Page_Load event when an item on the ASPX (inside the iFrame) is clicked but then...
2
by: Marco Antonio Montalvo Durán | last post by:
hi for example, I have a page 'register.aspx' and open a second page 'popup.aspx', what I want to do is to pass the control and values obtained in 'popup.aspx' to 'register.aspx', somebody...
1
by: billy | last post by:
Ok, here's the situation... I have a user control that contains two textboxes (one for a from date/time and one for a to date/time) and two image buttons. The user control itself is supposed to...
7
by: anthony.turcotte | last post by:
Hi, I've looked for a solution to this problem on google, read posts in this newsgroup and I still haven't found anything that could help me. Here's the scenario. 1. User accesses...
2
by: Valli | last post by:
Hi, I have an htm page which transfers to another aspx page(Default.aspx). I need to open the aspx page in another window(just as popup). How can I set target property here? Can anyone help...
14
by: kigoobe | last post by:
Well guys, I have tested a script that's working well in FF, however while testing with IE7, I am finding errors. That famous yellow warning icon at the left of our status bar. Basically, I am...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...
0
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...
0
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...

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.