Hi,
I need to write a webpage which does the following:
- open up a window and pass parameters into it (i.e. need to call
showModalDialog () or showModelessDia log())
- contains jscript to support drag and drop objects from itself to the
popup window
- wait for user response in popup window and return results back to
the parent window (i.e. calling showModalDialog () is preferred)
If I call showModalDialog (), the focus will go to the popup window,
i.e. I cannot drag from the parent window. If I call
showModelessDia log(), the focus will go to the parent window when I
drag an object from it but it doesn't switch to the popup window when
my cursor move to the popup window.
Is this even possible?
Thanks,
Eliza 1 2710 el******@hotmai l.com wrote:
Hi,
I need to write a webpage which does the following:
- open up a window and pass parameters into it (i.e. need to call
showModalDialog () or showModelessDia log())
- contains jscript to support drag and drop objects from itself to the
popup window
- wait for user response in popup window and return results back to
the parent window (i.e. calling showModalDialog () is preferred)
If I call showModalDialog (), the focus will go to the popup window,
i.e. I cannot drag from the parent window. If I call
showModelessDia log(), the focus will go to the parent window when I
drag an object from it but it doesn't switch to the popup window when
my cursor move to the popup window.
Is this even possible?
Thanks,
Eliza
Seems that you are already prepared to use ActiveX. So going to the
win32 APIs would be necessary. I am not sure that the COM interface
called IDropTarget is the way to go, but as you can surmise, you have to
get hold of win32 window representing the control you are trying to
drag, register it with the IDropTarget of the window where you are
dropping, and good luck.
--
intrader This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Simon Wigzell |
last post by:
I have a couple of utility windows - a calculator and a calendar that popup
from my main window. I would like them to always stay in front of the parent
window until they are shut down with there own close buttons. As it is, when
you click back to the parent window, of course it comes in front of the
child windows. Can I do this?
|
by: Simon Storr |
last post by:
Is it possible to make the parent window refresh when a modal dialog is
closed? I know I can use
window.opener.location.reload(true);
for a 'normal' window, but this doesn't work for showModalDialog. It is
modal as far as the client is concerned but not the server...
In my app I have a datagrid on the main aspx page, I pop up a modal dialog
to edit a record. On closing the modal dialog I'd like to refresh the
|
by: sramruttun |
last post by:
hi
I open a pop up window using window.showModalDialog. How can I close the
parent window after the pop up appears ?
|
by: Pikolo Mondo |
last post by:
hello, i've got a child window which will refresh the parent window after it closes
heres the catch, if i use window.open() it works fine, but when i use window.showModelessDialog, the child window keeps poping up..
any idea?
|
by: Ben Schumacher |
last post by:
How can I refresh the parent page from a popup window that was created using
window.showmodaldialog? I would like to accomplish this using vbscript if
possible.
| |
by: knowdotnet |
last post by:
Hi all,
Which is the best way to return a value back to the web page from a pop
up page?
I have a asp.net web application which opens a popup page on a link
button click. The Link button is contained in a datagrid column. When i
submit the popup page I want a value from the page to be returned to
the parent page and is to be updated in a dataset, thereby updating the
datagrid. I want the parent page to be refreshed on submitting the pop...
|
by: sowen |
last post by:
In IE, I am using showModalDialog to pop up a modeless window, then
the object "opener" is undefined.
well, I pass the parent window object as an argument to pop up, then I
can redirect the parent url.
The problem is, when I redirect the parent url, the popup is closed
automatically, I guess it's the normal behavior coz the popup is a
modeless dialog.
|
by: Bali |
last post by:
Default.aspx is the starting page containing a control(ascx) which
has
asp:button control on it. On the button click event it has to open a
new page as a modal control. Since refreshing a page in a dialog box
ended up opening up a new browser window with the aspx page, I read
on
a forum that I should use the iframe control and since I have to open
a bunch of pages as diaogboxes, I created a general
page(Container.aspx) which has an...
|
by: Bali |
last post by:
Default.aspx is the starting page containing a control(ascx) which
has
asp:button control on it. On the button click event it has to open a
new page as a modal control. Since refreshing a page in a dialog box
ended up opening up a new browser window with the aspx page, I read
on
a forum that I should use the iframe control and since I have to open
a bunch of pages as diaogboxes, I created a general
page(Container.aspx) which has an...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |