dialog

jQuery: problem with dialog

hi all, i'm having 2 dialogs in my web - when setting their property autoOpen:true they both show. but when setting autoOpen:false (and open them manually) - only one dialog opens :( with the other one, nothing happens at all (no error in firebug). any idea what it could be? it can't be the dialog content, as i defined just some simple ...

How to get textbox value from jQuery modal dialog after postback?

How do I get the ASP.NET text boxes updated with the value of the entered form data? The code below is basically the modal dialog form sample from jQuery UI, but with ASP.NET text boxes. The post back is fired, however the text box is not updated. After post back, I don't have the values in my test boxes. I'm pretty sure this is an easy...

how to properly destroy gtk.Dialog objects/widgets

Noob @ programming with python and pygtk. I'm creating an application which includes a couple of dialogs for user interaction. #!usr/bin/env python import gtk info = gtk.MessageDialog(type=gtk.DIALOG_INFO, buttons=gtk.BUTTONS_OK) info.set_property('title', 'Test info message') info.set_property('text', 'Message to be displayed in the m...

Notification when Windows Dialog is opened

I want to do some processing when a particular dialog is opened but I am not able to find any way to get notification when that dialog is opened. Is there any way to get notification in application for opening of a particular windows dialog? The only available information about the dialog is its title and its unique. ...

Open a JQueryUI Dialog and have it populate itself from DB

Hi, I have a list of companies and I want to be able to open a dialog to be able to edit their details. This opens the dialog: $('#company_details').click(function() { $('#dialog').dialog('open'); }); Only binds the dialog to the first instance of , not every one. And then, how can I pass the dialog an ID so I can then run an AJAX ...

Integrating a GWT Dialog into an existing HTML application

Hi all, I have a situation where I need to integrate a gwt dialog (which to the best of my understanding is implemented as a div with z-index manipulation) into an existing html page. There are two scenarios: 1. Which is the preferrable and more complicated is where i give the host html page another page which they embed as an iframe and...

pygtk: how to force message dialogs to show up in the center of the screen?

I have a glade GUI and i'm using dome gtk.MessageDialog widgets created with pygtk for user interaction. My problem is that whenever I throw a dialog message on the screen, they show up all over the place. One might show up on the top right corner, the next on the bottom left, top left, mid left etc... Is there a way to force these thin...

What's the best dialog plugin ( jquery based ) ?

I used to use jquery's native ui dialog plugin, felt a bit bloated to me. I'm looking for something lighter. Any suggestions? What I'm trying to get from a dialog plugin is that it can help popup panel like interface which allows dragging and resizing. ...

android: how to resize dialog

Hi, I would like to create a dialog-style form which would fill the bigger screen area (left, right, top, bottom padding 10px). I defined the style "CupCakeDialog" the following way: <style name="CupcakeDialog" parent="android:Theme.Dialog"> <item name="android:windowAnimationStyle">@null</item> </style> and by running the activ...

whiptail: How to redirect output to environment variable?

I'm trying to use whiptail as it's a lightweight alternative to dialog and seems to be installed by default in most systems (i.e., people don't have to go around and install it if it's "forgotten" or wasn't installed by default). I checked question #1562666 for a few examples here, but I'm looking for an alternative for redirecting outpu...

How to prevent onbeforeunload from being called when clicking submit button

How can I prevent onbeforeunload from being called when clicking the submit button? $(document).ready(function() { $('input:text,input:checkbox,input:radio,textarea,select').one('change', function() { //('BODY').attr('onbeforeunload',"return 'Leaving this page will cause any unsaved data to be lost.';"); if( window.onbe...

custom Dialog by extends dialog or alertDialog

hello,I want to make a custom Dialog,because i donot like it"s style,i want get a rounded rectangle rather than rectangle . i know to implement it by theme in Manifest.xml . for example :the code at activity write: android:theme="@style/Theme.CustomDialog Theme.CustomDialog.xml @drawable/filled_box true filled_box.xm...

Android Activity as a dialog

I have Activity named whereActity which is having child dialogs as well. now i want to display this activity is as a dialog for another activity.. how can i do that ?? ...

c# - Closing browse dialog causes form to close

I have a form which is displayed through: ShowDialog(). The form doesn't have CancelButton specified. When I open a BrowseDialog from the form and then close the BrowseDialog, the form is also closed. How can I prevent this from happening? When the "browse"-button is clicked: browseDialog.SelectedPath = projectLocation.Text; browseDi...

jQuery, do something after loading external files.

Ok, the point is having a bookmarklet load an external js that creates jquery, jquery-ui and a css file on the current web-page, with everything being done cross-domain. For some reason by the time the jquery code runs, dialog() function which is included in jquery-ui does not exist. My guess is that jquery is executing the code before t...

Message Dialog Box Reappears After OK button is clicked

Hi, After getting good help previously, I have completed my Minesweeper game. However, there is one problem that I can't figure out. The game itself works fine, however, I have an option for the user to change difficulty setting (beginner, intermediate, advanced) which is giving me grief. The user selects "Game" from the JMenuBar and the...

How do you bind Enter and Esc keys to OK and Cancel buttons respectively in a WPF dialog?

My WPF app uses a dialog with Ok and Cancel buttons. I would like to bind the Enter key to the Ok button and the Esc key to the Cancel button. Seems like it should be a simple thing to do. ...

ASP.Net + MVC + VS 2008

I am using asp.net MVC with Jquery. I use RenderPartial method to load control and open as modal dialog. After submit small form on modal dialogue i want to get focus on same dialogue in case of error. Javascript $(function() { $("#dialog").dialog({ bgiframe: true, height: 180, ...

Jquery UI dialog and sortable columns #dialog class issue

Hello @all , I succeed to create a sortable portlet system for a excisting cms. I also made a dialog pop where i can change true a form the title and in the future some more content within the dialog ,for each portlet. However my issue is that the #dialog shows the form inside my page before i click the icon. When i click the icon , t...

grails ui dialog

I am trying to do something which I would've thought was very simple, but it's causing me a huge headache. I am using Grails ui plugin to get a dialog box. I have a number of instances - some where dialog boxes need to appear when a button is clicked. This I have got working. But I also need to have some that appear when the page is lo...