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

questions on dialog-box

Hello,

I have some questions about dialog-box
1) I see that when I use dialog-box (by window.showModalDialog), and the
dialog is an aspx page - it opens a new session,
can I stay at the same session as before ?
(I see that parameter Session("aaa") which is known in the calling form, is
unknown at the called dialog box) ?
2) What is the command to close the dialog box ?
3) Dialog box has status bar - can I hide it ? can I put my own text on the
status bar (at the bottom line) ?
4) How can I do refresh to the calling form that called the dialogbox just
after it called it ? (calling form is an aspx page).
5) How can I return the window.dialogArguments, when the dialog-box is an
aspx page ?

Thanks :)
Nov 19 '05 #1
1 1103
> 1) I see that when I use dialog-box (by window.showModalDialog), and the
dialog is an aspx page - it opens a new session,
can I stay at the same session as before ?
(I see that parameter Session("aaa") which is known in the calling form, is unknown at the called dialog box) ? Double-check your observation. It does stay in the same session. May be you
are doing something else that causes "aaa" to disappear.
2) What is the command to close the dialog box ? javascript window.close()
3) Dialog box has status bar - can I hide it ? can I put my own text on the status bar (at the bottom line) ? Put status:no in the third parameter of your showModalDialog call.
4) How can I do refresh to the calling form that called the dialogbox just
after it called it ? (calling form is an aspx page). After the modal dialog closes or before?
5) How can I return the window.dialogArguments, when the dialog-box is an
aspx page ? You can do it on client side only. If you want your parameters to make their
way straight to server side, pass them as query parameters with the url. Or
in a session variable (it does work).

Thanks :)

Nov 19 '05 #2

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

Similar topics

7
by: Martin | last post by:
Again drawing on the groups experience:- 1. For general file opening and file saving, using VB6, are there any issues with using the FileOpen and FileSave Common Dialog Boxes? 2. Is using the...
2
by: John | last post by:
Hi, I'm trying to create a custom MSI project, I have added a textbox (a) dialog to the installation and I'm passing the value set to the installer class via custom data. However, when I'm...
4
by: Trevor Best | last post by:
Does anyone know of a source of some good exam (pop quiz) type questions on Access? Looking to test candidates in a job interview. Pref a mix of multiple choice and ones that have real answers. ...
3
by: Sean | last post by:
Hi all, I have a few questions here regarding UI thread. (1) If I have two windows A and B, then I call B.show() in A. In this case, there will be only 1 UI thread which is the window A UI...
4
by: Viviana Vc | last post by:
Hi all, I've read the WindowsVistaUACDevReqs.doc documentation and I have done different small tests on Vista to understand the bahaviour and now I have a few questions. 1) If I create a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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
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
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:
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...

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.