473,500 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Postback in Popup Window Opens a New Browser

Hi,
Ive a requirement to display the details in a Modal
Window. I open that window using JavaScript and it
displays the required details. I need to save these
details. For this purpose, Ive placed a Button on the
details form which fires a Post Back. This Post Back opens
up a new window.

Any help, will be appreciated.

Amir
Nov 18 '05 #1
2 4133
showModalDialog open a dialog .
the dialog's behavior is very strange .

I create 5 static html to fix all these problem .

see
http://www.lostinet.com/en/lwsamplec...dialogelement/

for a live demo .
--
http://www.lostinet.com/
---------------------------
Lostinet.Web Controls&Components help you to build better Asp.Net
CustomerControl&UserControl&Application.
---------------------------
It's FREE !!
---------------------------
ControlHelper&HelperElement for MessageBox&Dialog
ComboBox,ComboCalendar,SmartIframe
---------------------------
Remote Asp.Net Execution

"Amir Shaz" <sh*********@hotmail.com> ????
news:53****************************@phx.gbl...
Hi,
Ive a requirement to display the details in a Modal
Window. I open that window using JavaScript and it
displays the required details. I need to save these
details. For this purpose, Ive placed a Button on the
details form which fires a Post Back. This Post Back opens
up a new window.

Any help, will be appreciated.

Amir

Nov 18 '05 #2
Include this base tag in the head section of the popup page. It
prevents the reposting of this window form opening new windows

<base target=_self>

"Amir Shaz" <sh*********@hotmail.com> wrote in message news:<53****************************@phx.gbl>...
Hi,
Ive a requirement to display the details in a Modal
Window. I open that window using JavaScript and it
displays the required details. I need to save these
details. For this purpose, Ive placed a Button on the
details form which fires a Post Back. This Post Back opens
up a new window.

Any help, will be appreciated.

Amir

Nov 18 '05 #3

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

Similar topics

3
4273
by: Mehmet Gunacti | last post by:
Hello, on our homepage, when pressing an anchor tag, a special sized popup window opens via javascript. but it opens very slowly. on other web pages, there are also javascript-opened windows,...
7
3195
by: E Michael Brandt | last post by:
I have been lurking here for some time, and now would like to ask a question of you clever coders: My JustSo PictureWindow 3 Extension for Dreamweaver has stumbled in the face of the new Opera...
4
34830
by: GrantS | last post by:
I am having a problem closing a popup window opened modally. When I try to close the window (when the user hits save button and the data has been processed), the Popup window opens as a full screen...
5
2008
by: Paul Krasucki | last post by:
This is for a search page that takes parameters on one page, processes the query, and displays them on another page. I've got a javascript popup window on a button click event. When the user...
2
6571
by: Jensen bredal | last post by:
Hello,I lunch a popup window from an aspx file . The javascript uses window.open . The problem is that the height parameter appears to have a limit and i cannot go below that limit. code below: ...
1
3221
by: Kalyani | last post by:
Hi, I have a page with a button.On click of this button a popup window opens.Now if this window is kept open until session timeout then login page opens in the same window. Now I want that the...
1
1716
by: Rob Meade | last post by:
Lo all, Just after some suggestions here really... I have a page which lists a members of staff who have left our organisation, this list is then used by various departments in our...
1
2790
by: GTi | last post by:
Does anyone have a script to resize a (popup) window that is cross browser compatible. What I realy need is to resize a windows based on the INNER size. function SetWindowSize(w,h) { try {...
1
1762
by: studen771 | last post by:
Thanks in advance to anyone who can help :): I have an .aspx page that creates javascript on the fly within a button click event handler. The script creates a function AND CALLS THAT SAME...
0
7018
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
7182
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
7232
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...
1
6906
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
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4923
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
3110
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3106
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1430
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 ...

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.