modal-dialog

Delphi - detecting if my app has a modal dialog open

I have a Delphi 2006 app that pops up a modal alert dialog when an error condition is detected. As the check for the error condition is done in an idle handler, the dialog can pop up over the top of another modal dialog if that one happens to be displayed. This can lead to a confusing situation for the user where the application main f...

Is it possible to re-show and closed dialog window?

Some context here...I have a System.Windows.Window that is used to display a modal message box. I created a Show() method that initializes the content of the window, and then calls ShowDialog(). The user clicks a button on this window, some information about the clicked button is set in the Tag property, and then the window is closed via...

embedding a website inside a modal box on a different domain

I need to embed an iframe on different domain, that when click opens a modal box using fancy box. It would work something like this. user clicks image Once click loads a modal box(fancybox) that holds the iframe I need to do this because the fancybox needs to take up the majority of the screen 960x700 How would I do this? ...

hide jquery facebox modal manually...

I used my custom close button on my facebox modal to close it... It works fine (ie) it closes but it appends to the bottom of the page after i click the close button... <a onclick="$.facebox.close();" href="javascript:void(0);" class="close"> <img alt="Close the popup" src="images/close.png" title="close" class="close_image" />...

Adding jQuery modal dialog in an accordion

Hi folks, I have just started using jQuery in the past couple of weeks and am really enjoying it - damn fantastic thing! I have one problem at the moment though. Here's the basic structure of my page: <body> <div id="accordionContainer"> <div class="accordionSectionHeader"> Some header label... </div> <div class="ac...

Does anyone use a style guide for error messages?

I've noticed that error messages tend to be written in a handful of common styles. Either in full-form, casual-friendly sentences, or in shortened passive ones that don't always form a full sentence. The latter of the two seems to be the more common - though maybe not as common as the haphazard mixing of styles that I see in a lot of app...

jQueryUI Dialog doesn't apply button classes

Hi there, I'm using jQueryUI to build some modal boxes. I've created and implemented a default theme. My problem is that there are no classes applied to the buttons which I create through the dialog prefences var userSettingsDialog = jQuery('#userSettingsDialog').dialog({ autoOpen: false, buttons: { "Save": function() {...

how to change data at DB from jquery-ui dialog?

dear all.. i'm newbie,i want change my DB data from jquery-ui dialog. What code should I add to the dialog script that can make me connecting to process page before connecting to DB? ...

Flowplayer is above modal window

In my web application, I have webpages where people can watch videos. I'm using Flowplayer for playing flash videos. You can see it here: http://flowplayer.org/ I also use modal windows in my web application. I'm creating them with this jQuery plugin: http://code.google.com/p/jquery-modalbox-plugin/ Modal windows work great. The only p...

How to add a dialog box to the WYMEditor for catching the choice?

I want to add a button to WYMEditor's toolbar that will show a dialog box and paste returned value from the dialog into a content. How can I do it? The real code is welcomed ) ...

running code after opening modal ipad window

I am openning a modal window with the iPad SDK. [parent presentModalViewController:myPopup animated:YES]; The myPopup view has lots of building code in its viewDidLoad method and therefore there is a 3 or 4 section pause while myPopup's view is being built before the popup animation starts. What I want to do is only build the basics...

How do I get custom dialog close without showing graphics artifacts?

I have a custom windows modal form with the following event code: private void btnCancel_Click(object sender, EventArgs e) { Close(); _result = DialogResult.OK; } The problem is when I click OK, that triggers some process-intensive stuff (report generation) and the form becomes partially drawn on the screen. It's like the report ...

Winforms: Open a second modal dialog in an already open modal dialog

I have an open modal dialog and open again a modal dialog from this dialog (with ShowDialog) The problem is now that the parent modal dialog is not locked and when I click on it the second modal dialog, it moves to the background. When I close the first modal dialog, the second one still remains on the desktop. How can I prevent this beh...

ASP.NET and jQuery - submitting forms from a modal box?

I have an ASP.NET web site with master/content pages. On the master page, there is a link to log-in and that brings up a modal jQuery form. How can I make sure that the info that is submitted on this form (which is just a DIV in my master page) is handled by a particular postback event? Keep in mind that the modal can be submitted from...

What thread handles modal dialog windows in .Net?

I have a pretty basic understanding of the GUI thread and the message loop, but I'm curious as to how that applies to one window starting a modal window. If I had to guess, I'd say that both windows are being run under the same GUI thread and that some parameter indicates that only events with the child window (the modal one) be executed...

MVC: Clientside validation stops working in SimpleModal AJAX popup after opening and closing it once

I have a view with a simplemodal popup window. You click on a hyperlink, it pops up the window, and if you try to submit the popup'd form without filling in any information it will display the appropriate validation error message next to the textbox. If you close the modal popup and click the hyperlink again, it seems to not do the cli...

iPhone app, running other code while flipping a view

In xCode, writing an iPhone app, should I NOT put code after/while flipping a view? I seem to get random crashes.... { FlipsideViewController *controller = [[FlipsideViewController alloc] initWithNibName:@"FlipsideView" bundle:nil]; controller.delegate = self; controller.modalTransitionStyle = UIModalTransitionStyleFlipHor...

Mouse position in jQuery Dialog open function

How to get a mouse position inside open function of jQuery Dialog? ...

c# aspx modal window : how to redirect using javascript to same window (self)

Hello, I have been struggling with a problem that kept me busy for a few days now. I am programming c# .net web applications for an IE only environment and my current project contains a modal window. I hope you guys can help me out here! I have a couple of response.redirects in my modal page that work fine, with the addition of in the...

jQuery UI close dynamic dialog...or just the open dialog

I am trying to close an open dialog at the end of a function call and also use my current button element to close the dialog. Here is the code that opens the dialog. It is being called dynamically using the 'rel' attribute of the '.modal_btn'. It opens just as expected: modalDialog = function(dialogId){ $(dialogId).dialog(...