dialog

Show a jquery dialog after a hyperlink has been clicked

Hi, I'd like to show a dialog after the user clicked on a hyperlink. If the user presses continue in the dialog, the browser must go to the hyperlink. If the user presses cancel, the click on the hyperlink should be canceled. The link should have a real url in the href-attribute, the anchor shouldn't be used. How can accomplish this u...

Preventing the "[YourProgramName] has stopped working" dialog on unhandled exceptions.

I have a WinForm application, with some dependencies on an external library that can on occasion cause an exception outside of the running threads context. As it stands now, this is completely OK behavior ( well, except of course the exception ) and we wired up AppDomain.CurrentDomain.UnhandledException to simply restart the program. ...

JQuery draggable inside a dialog won't clip or behave

Hi I am using jQuery 1.8 and I want to have a custom 'draggable' control that is a child of a jquery dialog. I am encountering lots of problems as I want the draggable control to shrink to its contents size (its a div for now) and be clipped with in the dialog bounds. If I set the control to position absolute it behaves perfectly but d...

Attach jQuery dialog to Submit button in ASP.NET-MVC

I have a submit button which has been working to submit my form in ASP.NET-MVC. I would like to attach a jQuery dialog to the button click. If the user exits out of the dialog, then I would like to exit from the submit as well. I have dialogs hooked to other buttons, but not submits. How can I do this? *EDITED* This is an example o...

FLEX: How to know when a dialog created throw PopUpManager Closes

Is there a easy way to figure out consistently when a Dialog closes that has been created through PopUpManager. I would have suspected some type of message or callback mechanism, but there does not seem to be. In one case I use the WindowTitle component and event that only fires the CLOSE if someone presses the close and give no messag...

Get the text of the dialog box

What Win32Api functions can I use to get some dialog box text? (for example if I have the handle of some error message dialog, how can I know what its error message?) Thank you. ...

How to share dialogs between activities in android ?

I set up a help dialog in the main activity and I want it can be activated by other activities invoked by the main activity. What can I do? It looks I need to make the dialog registered in the application global context but not binded with an activity. ...

Android Custom PopupWindow/Dialog

I'm trying to get a completely custom Dialog or PopupWindow, without any of the default Android UI controls (title, background, buttons, whatever). Is this possible at all? I've spent hours searching for this, but no luck... It seems like this should be easily possible, but I can't find it. Preferably this would be by inflating a View ...

Contact picker in a dialog

I have a custom dialog in my android application. I want to have in this dialog a field for choosing a phone number from contacts. This example describes such snippet. However for this example contact picker is created inside an activity and I do not know how to do this if I do not have activity (in case of dialog) ...

Stop scrolling to ID when opening jQuery Modal via URL

I need to be able to open an ID'd jQuery UI Modal on a page when that modal's ID is passed in the page's URL. For example: http://mysite.com/visit.html#directions #directions is an ID'd DIV at the very bottom of the page, right before the closing BODY element. It's instantiated as a jQuery UI dialog on page load, then I'm running a ...

Retrieve HIViewRef from dialog.

Hi y'all. Is there any way to retrieve a HIViewRef reference from a Dialog (similar to HIViewGetRoot) in order to use it as a browser using WebKit API? Thank's for all. ...

CKEditor dialogs: referencing input fields by ID

Each input field in the CKEditor dialogs are renamed with a unique number, but the number changes depending on what options are visible. I need to reference 'txtUrl' which has an id something like #35_textInput. So far I have discovered that something like this should work: alert(CKEDITOR.instances.myElement.document.$.body.getId('txt...

ClickOnce application configured to perform updates programmatically still sometimes displays the ClickOnce Update Available prompt

We have a WPF application deployed using ClickOnce which checks for and performs updates programmatically on application startup. This generally behaves perfectly except for the case where the user chooses "No" to our "Do you wish to update?" prompt. In this case, the next time the user launches the application (consistently) the ClickOn...

Which Windows API opens the print properties dialog?

I would like to hook into an Office application just before the print properties dialog is opened (the dialog where you choose the paper, printer, etc.). Which Windows API opens this dialog? ...

Client Side Development - In Process/Completed Indicator Preferences?

Hello, I have been doing more client-side development, managing the UI on the client and submitting data to the server via web service calls. I'm not looking for implementation details, but was curious on developer preferences for displaying an operation in process and what to display when completed or even failed. As a for instance, ...

Is there a color dialog for WPF?

I am looking for a color dialog for WPF? Is there one built in? Should I build my own ? Or do Win 32 interop? If so, how? ...

jQuery: Dialog Close Event: Execute more than one command without having to call a function

I will be calling a jQuery dialog from various parts of a page. Each call is initiated by an onClick event of the calling object where I firstly call a function to create the dialog, write the close event binding to the dialog and then call the dialog. For the close event, I wish to have multiple commands to be performed, but different f...

.NET Serial Port: Port Configuration Dialog

I'm going to be writing a small app based on the .NET SerialPort class. Is there a generic dialog available for setting the port settings, ala baud rate, data bits, stop bit, parity bit, flow control, etc? I didn't see one in the MSDN documentation, but I would think that one exists, since that stuff doesn't change. ...

WPF: Create a dialog / prompt

Hello, I need to create a Dialog / Prompt including TextBox for user input. My problem is, how to get the text after having confirmed the dialog? Usually I would make a class for this which would save the text in a property. However I want do design the Dialog using XAML. So I would somehow have to extent the XAML Code to save the conte...

Toast versus Dialog boxes: which to use when?

The answer could be subjective. The answer could be intuition. And I guess the answer could be found from the traditional modal versus non-modal debates. But in general how do you generally decide which one to go for? What are their use cases? Thanks. ...