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

showModalDialog without the address line

ton
Hi,

I'm opening a modalwebform, in which I use to parameters to show a database
record. i do not want that people will see the way I call the record, so I
want to hide these variables. I thought it would be possible to hide the
address line.

This is the way I call the modal window:
window.showModalDialog("mEdit.aspx?tabel=" + tabel +"&key=" + key,
null,'location:no;status:no;dialogWidth:500px;dial ogHeight:800px;dialogHide:true;');
The address in the modalform is:
http://localhost:52354/WebSite2/mEdi...bel=13&key=449

Does anyone has a better way to solve this problem

thanx

ton

Nov 21 '08 #1
4 2857
"ton" <to*@nospam.nlwrote in message
news:f4**************************@cache1.tilbu1.nb .home.nl...
Does anyone has a better way to solve this problem
Yes - don't use showModalDialog, as it's completely non-standard. Use AJAX
instead:
http://www.google.co.uk/search?sourc...ax+modal+popup
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 21 '08 #2
ton
do you expect that I can call a popup and in this popup can I again call the
same popup and so on. Because I want to popup the parent and from the parent
record again his parent and so on ?
thanx any how

ton
"Mark Rae [MVP]" <ma**@markNOSPAMrae.netschreef in bericht
news:OR**************@TK2MSFTNGP06.phx.gbl...
"ton" <to*@nospam.nlwrote in message
news:f4**************************@cache1.tilbu1.nb .home.nl...
>Does anyone has a better way to solve this problem

Yes - don't use showModalDialog, as it's completely non-standard. Use AJAX
instead:
http://www.google.co.uk/search?sourc...ax+modal+popup
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Nov 21 '08 #3
IMO the first step would be to explain your overall goal. For now it looks
like it will create a quite confusing user interface especially if the whole
pile of windows is really supposed to be modal. Why do you need several
level of modal windows especially in a web application ?
--
Patrice
"ton" <to*@nospam.nla écrit dans le message de groupe de discussion :
c1***************************@cache3.tilbu1.nb.hom e.nl...
do you expect that I can call a popup and in this popup can I again call
the same popup and so on. Because I want to popup the parent and from the
parent record again his parent and so on ?
thanx any how

ton
"Mark Rae [MVP]" <ma**@markNOSPAMrae.netschreef in bericht
news:OR**************@TK2MSFTNGP06.phx.gbl...
>"ton" <to*@nospam.nlwrote in message
news:f4**************************@cache1.tilbu1.n b.home.nl...
>>Does anyone has a better way to solve this problem

Yes - don't use showModalDialog, as it's completely non-standard. Use
AJAX instead:
http://www.google.co.uk/search?sourc...ax+modal+popup
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Nov 21 '08 #4
"ton" <to*@nospam.nlwrote in message
news:c1***************************@cache3.tilbu1.n b.home.nl...
>>Does anyone has a better way to solve this problem

Yes - don't use showModalDialog, as it's completely non-standard. Use
AJAX instead:
http://www.google.co.uk/search?sourc...ax+modal+popup

Do you expect that I can call a popup and in this popup can I again call
the same popup and so on. Because I want to popup the parent and from the
parent record again his parent and so on ?
I have to say that I don't know, as I've never even considered doing what
you're suggesting.

The purpose of a modal dialog is to force the user to concentrate on one
exercise and not allow them to move away from that exercise until it is
complete - that's what "modal" means...

Popups calling popups calling popups sounds like a total nightmare to me...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 21 '08 #5

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

Similar topics

2
by: Steve | last post by:
Hi, I've come across what appears to be a bug in the rendering engine of internet explorer when a document is opened by showModalDialog. Basically any elements that should render to the right...
2
by: Jim M | last post by:
I hate to pass data on the query string. Is there a way to pass data to the serverside vb code using the object in showmodaldialog. var myObject = new Object(); var retVal = new Object();...
2
by: Perry van Kuppeveld | last post by:
Hi, When i'm using the ShowModalDialog function, while another browser window is open (not the application window calling the showmodaldialog) i lose my session. What could be the problem /...
4
by: MW de Jager | last post by:
I want to call ShowModalDialog(...) from my C# code in the code behind page of my aspx page. I do not want to link this to a button, since I want to first do some checking myself before I call the...
5
by: Tmajarov | last post by:
Haven't been able to find a clear answer to this... I am building an asp.net application and trying to enforce some work flow by displaying a form via the showmodaldialog method. I can get the...
3
by: needin4mation | last post by:
Hi, I have an asp:button that has a ShowModalDialog script attribute added to it. When the ShowModalDialog opens the user is supposed to select some data which is then sent back to the calling...
1
by: Ben Schumacher | last post by:
I keep getting a script error (Expected end of statement) when I try to add the following attribute to a <asp:Button server control. My vb.net looks as follows ... Dim sUrl As String =...
0
by: Ben Schumacher | last post by:
I'm programming a web app using ASP.Net 2.0 and vb.net. In some instances, I open a popup window using vbscript and the ShowModalDialog window command. The .aspx page that is opened using the...
6
by: David | last post by:
Hi all, I am opening a webform with showModalDialog. This appears to pop-up fine, though I have a problem... Inside the webform is a treeview control. When the treeview is populated, I am...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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...
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,...

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.