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

can a Modal Dialog post back to itself?


i have a page with a grid that is opened in a modal dialog. when it posts
back it opens a new window for the page

can it postback to itself? i tried setting the target of the form showing
within the dialog to "_self" but no joy

Cheers,
Craig
Nov 19 '05 #1
8 4575
Its a DIALOG box... it's not desined for that.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:uT*************@TK2MSFTNGP14.phx.gbl...

i have a page with a grid that is opened in a modal dialog. when it posts
back it opens a new window for the page

can it postback to itself? i tried setting the target of the form showing
within the dialog to "_self" but no joy

Cheers,
Craig

Nov 19 '05 #2
fairy muff but not everything is used as it was designed to be
http://www.codeproject.com/aspnet/IFrameParams.asp

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2*****************@TK2MSFTNGP10.phx.gbl...
Its a DIALOG box... it's not desined for that.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:uT*************@TK2MSFTNGP14.phx.gbl...

i have a page with a grid that is opened in a modal dialog. when it posts back it opens a new window for the page

can it postback to itself? i tried setting the target of the form showing within the dialog to "_self" but no joy

Cheers,
Craig


Nov 19 '05 #3
Just put a line

<base target=_self>

into the <head> section of your page.

Eliyahu

"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:uT*************@TK2MSFTNGP14.phx.gbl...

i have a page with a grid that is opened in a modal dialog. when it posts
back it opens a new window for the page

can it postback to itself? i tried setting the target of the form showing
within the dialog to "_self" but no joy

Cheers,
Craig

Nov 19 '05 #4
that's iFrame, not Modal Dialog, and yes, there are often "workarounds" to
get things to work in non-designed ways. This is usually a bad idea though.
Next patch, next upgrade, etc, could break your "workaround".... It's
usually best to reevaluate what you need and how you want to get it. In
other words use the right peg for the right hole, dont force it.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:ub**************@TK2MSFTNGP10.phx.gbl...
fairy muff but not everything is used as it was designed to be
http://www.codeproject.com/aspnet/IFrameParams.asp

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2*****************@TK2MSFTNGP10.phx.gbl...
Its a DIALOG box... it's not desined for that.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:uT*************@TK2MSFTNGP14.phx.gbl...
>
> i have a page with a grid that is opened in a modal dialog. when it posts > back it opens a new window for the page
>
> can it postback to itself? i tried setting the target of the form showing > within the dialog to "_self" but no joy
>
> Cheers,
> Craig
>
>



Nov 19 '05 #5
yeah i know what you mean. if i had if my way they would just be
window.open's and save all the hassle but when your being forced by others
to get it to work by any means possible!!

they know all my gripes with it but at the mo there is nothing i can do to
change their mind!

Cheers,
Craig
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:Ot**************@TK2MSFTNGP10.phx.gbl...
that's iFrame, not Modal Dialog, and yes, there are often "workarounds" to
get things to work in non-designed ways. This is usually a bad idea though. Next patch, next upgrade, etc, could break your "workaround".... It's
usually best to reevaluate what you need and how you want to get it. In
other words use the right peg for the right hole, dont force it.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:ub**************@TK2MSFTNGP10.phx.gbl...
fairy muff but not everything is used as it was designed to be
http://www.codeproject.com/aspnet/IFrameParams.asp

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2*****************@TK2MSFTNGP10.phx.gbl...
Its a DIALOG box... it's not desined for that.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:uT*************@TK2MSFTNGP14.phx.gbl...
>
> i have a page with a grid that is opened in a modal dialog. when it

posts
> back it opens a new window for the page
>
> can it postback to itself? i tried setting the target of the form

showing
> within the dialog to "_self" but no joy
>
> Cheers,
> Craig
>
>



Nov 19 '05 #6
Ah yes... the executive decision.....gotta love it.
Sad thing is that if it does break in 2 months, or whenever, they'll
probably blame you for it....

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:uY****************@tk2msftngp13.phx.gbl...
yeah i know what you mean. if i had if my way they would just be
window.open's and save all the hassle but when your being forced by others
to get it to work by any means possible!!

they know all my gripes with it but at the mo there is nothing i can do to
change their mind!

Cheers,
Craig
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:Ot**************@TK2MSFTNGP10.phx.gbl...
that's iFrame, not Modal Dialog, and yes, there are often "workarounds"
to
get things to work in non-designed ways. This is usually a bad idea

though.
Next patch, next upgrade, etc, could break your "workaround".... It's
usually best to reevaluate what you need and how you want to get it. In
other words use the right peg for the right hole, dont force it.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:ub**************@TK2MSFTNGP10.phx.gbl...
> fairy muff but not everything is used as it was designed to be
> http://www.codeproject.com/aspnet/IFrameParams.asp
>
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:%2*****************@TK2MSFTNGP10.phx.gbl...
>> Its a DIALOG box... it's not desined for that.
>>
>> --
>> Curt Christianson
>> Owner/Lead Developer, DF-Software
>> Site: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
>> news:uT*************@TK2MSFTNGP14.phx.gbl...
>> >
>> > i have a page with a grid that is opened in a modal dialog. when it
> posts
>> > back it opens a new window for the page
>> >
>> > can it postback to itself? i tried setting the target of the form
> showing
>> > within the dialog to "_self" but no joy
>> >
>> > Cheers,
>> > Craig
>> >
>> >
>>
>>
>
>



Nov 19 '05 #7
nice one cheers Eliyahu
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:Ob**************@TK2MSFTNGP14.phx.gbl...
Just put a line

<base target=_self>

into the <head> section of your page.

Eliyahu

"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:uT*************@TK2MSFTNGP14.phx.gbl...

i have a page with a grid that is opened in a modal dialog. when it posts back it opens a new window for the page

can it postback to itself? i tried setting the target of the form showing within the dialog to "_self" but no joy

Cheers,
Craig


Nov 19 '05 #8
exactly......

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:OZ**************@TK2MSFTNGP11.phx.gbl...
Ah yes... the executive decision.....gotta love it.
Sad thing is that if it does break in 2 months, or whenever, they'll
probably blame you for it....

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:uY****************@tk2msftngp13.phx.gbl...
yeah i know what you mean. if i had if my way they would just be
window.open's and save all the hassle but when your being forced by others to get it to work by any means possible!!

they know all my gripes with it but at the mo there is nothing i can do to change their mind!

Cheers,
Craig
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:Ot**************@TK2MSFTNGP10.phx.gbl...
that's iFrame, not Modal Dialog, and yes, there are often "workarounds"
to
get things to work in non-designed ways. This is usually a bad idea

though.
Next patch, next upgrade, etc, could break your "workaround".... It's
usually best to reevaluate what you need and how you want to get it. In
other words use the right peg for the right hole, dont force it.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
news:ub**************@TK2MSFTNGP10.phx.gbl...
> fairy muff but not everything is used as it was designed to be
> http://www.codeproject.com/aspnet/IFrameParams.asp
>
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:%2*****************@TK2MSFTNGP10.phx.gbl...
>> Its a DIALOG box... it's not desined for that.
>>
>> --
>> Curt Christianson
>> Owner/Lead Developer, DF-Software
>> Site: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "Craig G" <craig.gamble@y_arrasoftware.com> wrote in message
>> news:uT*************@TK2MSFTNGP14.phx.gbl...
>> >
>> > i have a page with a grid that is opened in a modal dialog. when it > posts
>> > back it opens a new window for the page
>> >
>> > can it postback to itself? i tried setting the target of the form
> showing
>> > within the dialog to "_self" but no joy
>> >
>> > Cheers,
>> > Craig
>> >
>> >
>>
>>
>
>



Nov 19 '05 #9

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

Similar topics

2
by: martin de vroom | last post by:
Hi, I have a web page that opens a modal dialog (client side) in the following manner onclick="window.showModalDialog('/dialog.asp',null,'dialogHeight: 200px; dialogWidth: 400px; dialogTop:...
3
by: Russell | last post by:
I have a quirky issue that I believe involves timing and only 2 hairs left to pull. I have a modal dialog that is an IFrame. The IFrame contains another window - which contains the appropriate...
3
by: Andrew Baker | last post by:
OK this has me perplexed, puzzled and bamboozled! I have a remoting service which I displayed a message box in. I then wondered what would happen if a client made a call to the service while the...
2
by: John | last post by:
Hi all, I have a modal dialog window from which a user selects a few rows from a datagrid and then clicks on an image button. My question is two-fold: 1. How do I post data back to the same...
3
by: Earl Teigrob | last post by:
Can a Modal Dialog Box do forms ASP.NET forms validation from within the Modal Box? I want to pop up a dialog box to the user and have it do its own post backs with validation checking and then...
4
by: Brian Henry | last post by:
Hi, is there a way to get a form to post back to a modal dialog box when it was posted from a modal dialog to start with? here is the problem... I have a form with combo boxes and when you select...
10
by: Guadala Harry | last post by:
I have a modal dialog that currently does all of the following except item 4. 1. lets users select a graphic from a list of thumbnails (and when selected, displays the full-size image in a...
1
by: traviscoop | last post by:
I have a modal dialog that opens up a url with my content in an iframe, I do this so the content can post back to itself, etc., I want the modal dialog to only be as big as it needs to be to show all...
11
by: VK | last post by:
In the continuation of the discussion at "Making Site Opaque -- This Strategy Feasible?" and my comment at http://groups.google.com/group/comp.lang.javascript/msg/b515a4408680e8e2 I have...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.