dialog

Dialog keypress and DOM

Hi - I'm trying to use jQuery's keypress to trigger a button click on a modal dialog created using the jQuery dialog function. The problem is, with the following code, it works the first time around (pressing enter presses the Save button) but I get erratic behavior when I close the modal dialog and reopen it. I'm thinking some variant o...

How can i optimize this dialog code for Android ?

I want to have a dialog containing 3 views 1. title with black background 2. some body text white background 3. a line with 2 buttons with gray background. The problem is that i want the background color of the body to be WHITE, but even my view has set backgroundcolor to WHITE, there seems to be some margins at top and bottom of the bo...

Firefox 3.x extensions: dialog "Save As" - choice opener, how open?

Is it possible to call Firefox Save As dialog ( chrome://mozapps/content/downloads/unknownContentType.xul ) with specifying URL? I found that class for this dialog stored in "nsHelperAppDlg.js" and called "nsUnknownContentTypeDialog", but i don't understand how to use it :( I want to create extension, that show firefox "save as" dialog...

SOLVED: Modal dialogs from within a tabbed UI (Improved example)

(I have tightened up my original example) I'm trying to invoke modal dialogs from within a tabbed UI, and I'm confused about the behavior I'm seeing. The first time I display the UI, my dialog behaves as expected, I can pull the data out of the fields, everything's wonderful. tabtest2.html: <html xmlns="http://www.w3.org/1999/xhtml" xm...

Download file when user clicks dialog button

I have a dialog box open when a user clicks on a url. In that dialog box, I have two buttons, "OK" (which closes the dialog box) and "download file" (which, I would like to have the file I just created via PHP be downloaded when clicked). How can I achieve that functionality with the "download file" button? I tried $.get but that only r...

javascript dialog over a flash movie

Hello I have a such system: When the mainsite opens, A flash image gallery appears, when the user clicks on an image, using the Flash's "ExternalInterface.call" function, I call a javascript function that opens a java dialog modal named nyromodal (which fetches raw HTML data via ajax from another page inside the dialog box) on the flash ...

Retrieve information from pop windows

Is there a way to popup a web page, and retrieve some information from the page as it is being closed or before being closed? I have done me homework and know about jquery popups etc, but I want something I can learn the basics from. /vfclists ...

need sample of jquery modal dialog content loaded from controller action

My ASP.NET MVC app opens and displays the dialog fine however I can't figure out how to get DB content into it. I have read about making an ajax call to get the data. My disconnect is how it gets displayed in my . Any links where this is done (full code). Thanks. ...

Trying to load JQuery modal (file upload) dialog with DB content.

I am trying to get a modal dialog which will be used to upload files to the server to display some content relative to the item selected in a grid. I'm getting errors in the jquery load method attempting to call my controller action. Initially the error I got was that it could not find the controller. I modified the path parameter in the...

IE flickering input in jQuery overlay

I'm utilizing the jQuery UI Library to create an overlay. For simplicities sake, they live on the page (not being pulled in via an AJAX call) and are initialized via an onclick. When they are shown, in IE 6 and 7, when you click inside any text inputs (input type text or textarea) the cursor flickers sporadically. Of note also, when I...

Adding a vertical scrollbar to an AlertDialog in Android ??

I would like to add a vertical scrollbar to an AlertDialog because my text is too long to display on 1 screen: I've tried to use : android:scrollbars="vertical" android:scrollbarAlwaysDrawVerticalTrack="true" but the scrollbars don't even display ? Here's the xml layout file I'm using: <LinearLayout xmlns:android="http://schemas....

MessageDialog not closing

I'm using the following code to show a message dialog in my application : MessageDialog dialog = new MessageDialog(null, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, ...

why the charting dialog(using plot pack in iocomp) updating is not correct?

I develop a MFC dialog-based application in VC++6.0 which communicate with remote machines through UART port, data received should be displayed in charting control(plot pack). Because the amount of remote machines is determined at running time by user, so I create charting dialog dynamically with user setted amount of remote machines. ...

Mixing JSF and Trinidad tags

Hi all, recently I got the Trinidad library going in a JSF based application of mine. (cmp this SO-question) Now I want to include some user interaction, making use of the dialog API. I worked alongside the fairly detailed DevGuide provided with the API, but I'm stuck at the followong point: TrinidadTags work in my JSF-xhtml Pages add...

Is there a standard dialog for constructing an ADO.Net connection string (that is redistributable)?

I want to use a standard dialog to solicit user input of an ADO.net connection string. It is trivial to do for the oledb connection string as described here: MSDN Article on MSDASC.DataLinks().Prompt I've also found examples that use Microsoft.Data.ConnectionUI.dll and MicrosoftData.ConnectionUI.Dialog.dll from VS (HOWTO: Using the Cho...

Chrome/Safari: jQuery works in .htm but not in .aspx

I have a site where I display some jQuery dialogs. But in Chrome/Safari the dialog is not opened in center of the screen but a long way down the page. The site is programmed in ASP.NET but when I copy-paste the generated HTML to a .htm file the thing works fine. Very weird :/ Try: http://tinyurl.com/yj4vkm7 - works in Safari/Chrome. A...

Keep window in foreground (even if it loses focus)

In my application (C', Windows Forms) I have got a telephone information screen: if there is an incoming phone call a window with additional information to the caller is shown. This window should open in foreground and should stay there even if the user is writing in another window (so the user still sees the information regarding the i...

WiX Standard Dialogues

Hi! Does anyone know if there are any WiX standard UI dialouges out there that you can use to integrate into your own WiX msi package? For example: Editing Connection Strings to database Editing paths to log files in web.config/app.config Setting up users for a Windows Service Setting up WCF Endpoint addresses and other parameters ...

Flex - Webservice. How to kill browser dialog window at the moment of incorrect authentification?

Hello, Friends! I use Flex Builder 3 and SOAP WebService on the server side. I know how to do a basic authorization of the client app (using httpHeaders), but I can't solve the problem of how to kill the browser dialog box (username, password) when the client have done an incorrect authorization. I handle the faultEvent.FAULT event, bu...

JQuery File upload dialog not returning back to dialog from MVC Controller action

I have an ASP.NET MVC app which uses a jquery ui dialog for file upload. Everything is working fine with loading the dialog with the correct content and displaying the dialog on my click event however my issue is that after I process the action in my controller action method I don't return back to my dialog as I would expect an ajax like...