dialog

JQuery: Disable 'X' button in top-right of Dialog

Hello all, I'm trying to make a dialog that requires a user to agree to terms before continuing, and don't want to allow the user to just click the 'X' in the top right corner of the dialog to close. I'd like to require that the user click 'I agree'. Is there any way to disable the 'X' in the dialog? Thanks. Clarification: I'm just u...

ASPxGridView in a JQuery UI modal dialog

I'm trying to display an ASPxGridView using a JQuery UI modal dialog. The grid is configured to use callbacks to access the server (seems to be the best/fastest solution). I'm able to show it via a normal postback, but am unable to run any callbacks correctly. The first click on a pager link will callback to the server and the correct r...

open file dialog box in javascript

i need a solution to display open file dialog in html while clicking a div . the open file dialog box must open when the div is clicked. note : i dont want to display the input file dialog as part of html page. it must be displayed as alert in javascript. [i need open file dialog box when a div is clicked. it must be as like alert whic...

jQuery: dialog question - change button after init

hi all, i've defined a dialog with 2 buttons: ok + cancel. what i want to do now is change the ok button's function after initialization, so i tried: dlgPrompt.dialog({ buttons: { 'Ok': function() { myFunction(); $(this).dialog('close'); } } }); unfortunately it doesnt work (when clicki...

WIX equivalent of a C# textbox?

I'm staring at this page wondering which control is a textbox. Seems like it should be obvious, but I don't see it. http://wix.sourceforge.net/manual-wix2/wix_xsd_control.htm Also, is there a built-in "Browse" button to select a file from disk? Or do you have to code all that yourself? Thanks, Neal ...

Use showModalDialog or jQuery Dialog

When developing an intranet application where the target browser is IE only (IE6 - horrible I know) is there any reason that we shouldn’t use the showModalDialog() feature of IE to display dialog windows? My colleague prefers using showModalDialog() but I prefer using a jQuery plug-in such as FancyBox, FaceBox or ThickBox instead. ...

How to recover from MFC error "Cannot add new member"?

I'm working with an MFC application using Visual C++ 6.0. When I double-click on one of the elements of a dialog box in Resource View, I get the error "Cannot add new member." I understand that the source of this might be corrupted metadata in the source files associated with that resource. Do you know any methods for determining what ...

Keyboard Tabbing Stops working on Windows GUI

I have a windows gui built in Microsoft Visual C++ and when the user performs a certain set of actions the keyboard tabbing to move from widget to widget stops working. Simply put, there are two list boxes with an add and a remove buttons. Selecting a row in listbox #1 and pressing the add button removes the object from list box #1 and ...

binding fields in a dialog popup in my view

i have an html table in my asp.net mvc view an i am running into some real estate issues with screen space. I think in one area of my view i am going to have a button in a column of an html table that says "Details" which, when clicked, loads up some dialog ui. what i am trying to get my head around is that i want the fields in the d...

jquery ui dialog top always > 0

hi i'm using the jquery ui dialog for viewing a form. this form is mutch height and so the top of the dialog is 0px I want change this beacuse in the top of my window there is a menu bar is possible? thanks ...

How to keep scroll position in SimpleModal dialog

How is it possible to keep the scroll position of a scrollable div within a modal dialog when it is re-opened? I modified the basic downloadable example of simplemodal as follows: <div id="basic-modal-content"> <h3>Scrollable Modal Dialog</h3> <div style="width: 150px; height:100px; overflow: auto;"> a<br>a<br>a<br>a<br...

Jquery: dialog box only shows once per click

Hello, I have a series of "links & divs" like these: <a class="pop" href="popup.asp?PD=12>Hotel XXX</a> <div class="details" title="Hotel XXX"></div> <a class="pop" href="popup.asp?PD=52>Hotel YYY</a> <div class="details" title="Hotel YYY"></div> ... I'm using the following javascript, and it works very nice except the fact that I c...

Positioning jQuery dialog

I want to position my jQuery dialog x-pixels away from the right border of the browser. Is this anyhow possible? http://jqueryui.com/demos/dialog/ The position option doesn't seem to have that kind of setup, but is there any other way to do it? ...

FBConnect (IPHONE) , custom publish dialog

Hi all, is possible custominzing the FBdialog??, i have already modify the attachment on the dialog when the user wants to publish a post; but i need to make hidden the textfield that the dialog presents...there is a way to access to this property or it's just a webView that load a page from facebook's server? sorry for my bad english!...

Message box like Facebook

How to create those message box in php, just like the one in facebook. Or any reference that you could give me that deals with designing. ...

JQuery Dialog: How to do partial page refresh and get new dialogs each time

Hello, I'm having a workflow issue with my JQuery dialogs when trying to create the dialogs and then doing a partial page render. I'll try to go through a sample scenario, and my apologies in advance for the long problem description: The page loads, with the html that I would like to be turned into JQuery dialogs. The dialogs are creat...

JQuery Dialog Resizes upon "moving"

When I move my JQUERY dialog box, the button bottom area gets resized (getts longer vertically). How can I stop this from happening and what is causing for this to happen? ...

Get the current active modal dialog in java

I have a small dialog that is independent from the rest of the whole project. There are several threads that can call this dialog. The problem is a modal JDialog that shows the progress of the current task. My dialog will be opened behind the progress dialog. There is no possibility to get this dialog. Is it possible to get the current...

jQuery UI modal confirmation dialog at asp.net: how to prevent trigger OnClick event

I am trying to use confirmation dialog from jQuery UI. I ran into this problem: how to trigger correctly the dialog and at the same time prevent trigger OnClick event specified at button until user click on Yes or No buttons at dialog? In the example below are two ways how to popup confirmation. Lower one works well. It's a cla...

Silverlight Confirm Dialog to Pause Thread

I'm trying to do a confirmation dialog using Silverlight's ChildWindow object. Ideally, I'd like it to work like MessageBox.Show(), where the entire application halts until an input is received from the user. For example: for(int i=0;i<5;i++) { if (i==3 && MessageBox.Show("Exit early?", "Iterator", MessageBoxButton.OKCancel) == Mess...