Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / JScript / July 2006

Tip: Looking for answers? Try searching our database.

JScript showModalDialog

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andre Grumbach - 15 May 2006 07:46 GMT
Hi all,
I try to create a web application, which calls a Dialog Window, when I click
on a Button.

After the Dialog is complete, it should refresh the 'Main Form'.

So how can i refresh the 'Main Form'?

I have try it with window.window or opener, but both will 'null'.

Thanks,
Andre
asdf - 19 May 2006 08:13 GMT
How can you have a "dialog complete" and at the same time
asking for a synch between what?

You are stretching my patience.

-------------------------

You can have a window, document, script etc. complete.

Once you are talking dialog,
I expected dialog handling complete attempt code.

==============

Your are pushing MS publishing commonalities here.

> Hi all,
> I try to create a web application, which calls a Dialog Window, when I click
[quoted text clipped - 8 lines]
> Thanks,
> Andre
Look at the dialog return value - 25 Jul 2006 20:05 GMT
This is what you are looking for:

in the main page:
var myReturnValue = window.showModalDialog(strURL, window, strFeatures)
if (myReturnValue == 'OK')
{   
  __doPostBack('', '')
}

in the dialog window:
window.returnValue='OK';

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.