modal

jQuery DatePicker and JQuery Modal Popups Issue in MVC

I have a situation where I have a form with: a view popup1 (with popup1.js) popup2 (with popup2.js) I have set the input boxes to have a class of either popup1Date or popup2Date in case the issue was coming from having them all set to the same date class. The isuse occurs if I go into popup1 - close - then into popup2 - select a da...

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...

App modal NSPanel / sheet / dialog + NSThread == window hangs ??

I'm in the midst of debugging an extremely unusual problem, and I was wondering if anybody might have any insight into what might be going wrong: In a controller class from a NIB, I take an NSPanel from that same NIB, and then show it app modally on an NSWindow (that was created by hand in code): [[NSApplication sharedApplication] begi...

YUI modal panel with non-standard background mask value.

I am trying to setup a modal YUI panel above a YUI Tabview. For CSS purposes [1] the tabs have a z-index that goes up to about 20 (depending on how many tabs there are). The problem I am facing is that the mask that YUI draws for the modality of the panel is behind whatever nonzero mask the tabs have, and so the tabs peek through. So ...

Modal box + checkbox + cookie

I would like to achieve the following: On homepage load, display modal box Within modal box, display a form with a single mandatory checkbox On checking the checkbox, hit submit and close the modal box, proceed to homepage Remember this checkbox tick preference using a cookie On a users return to the homepage, if they have checked the ...

Why is a modal/modeless dialog called modal/modeless?

Hi, I always have trouble remembering whether the modal or modeless dialog is the one blocking operations in other parts of the application. Does anyone know why they are called that way? ...

[ASP.net AJAX] Modal popup extender is rounded locally but not on the server

ASP.net ajax 2.0 I've got a modalpopup extender that looks like this: The actual modal popup is wrapped around a rounded corner extender to give it the nice curved look. Here is a simple snippet of code: <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" CancelControlID="btnCancel" OkControlID="btnOk" TargetCon...

Showing a one-time UIViewController via presentModalViewController upon launch

Greetings! I have a working iPhone app (huzzah!) that uses a MainView.xib containing a fully-stocked UITabBar with several UINavigationController objects and views at-the-ready. I've now been asked to add a one-time registration view to this mix. This view would appear before the UITabBar at app-launch, get some info from the user, regi...

better version of fakemodal?

I found a code snippet (http://aspn.activestate.com/ASPN/Mail/Message/wxpython-users/3695248) for a "fakemodal" dialog. This works for what I am doing, but I would like to make it act more like a modal dialog. My problem - I have a main window and a 2nd dialog window. The 2nd dialog is non-modal. I would like to open a sub-window of ...

Modal windows plugin to rails

Hi, I'm starting to digg some rails plugins to create modal forms in rails. Almost all documents that you find are too old (2006,2007) or more focused in php. I would like to create a "feedback" tab that when you click on that, it opens a form. For example, you can check the railscast website, http://railscasts.com/. Ryan Bates made it ...

Call method from Modal View Controller

I have a view controller which presents a modal view when a certain button is tapped. Upon closing the modal view and re-revealing the original view underneath, I want a refresh method to be called. How do I call this refresh: method in OriginalViewController from ModalViewController? I know this works if I do it in -viewDidAppear, but ...

jquery: close dialog on click (anywhere)

hi, is there a default option to close a jquery dialog by clicking somewhere on the screen instead of the close icon? thx, fux ...

How to close a modal JDialog when user clicks outside of JDialog?

I have a Undecorated Modal JDialog which I want to setVisible(false) when the user clicks outside of the modal dialog. Is this possible in Swing? What I am doing is popping up a custom editor for a text field like a date selector. Is there an easier way to do what I want? EDIT Remember that modal blocks on the call to setVisible(tru...

Keep Modal View row checkmarked

I have a RSS parser that displays the articles in a UITableView. I also have a button that brings up a Modal View where you can change the source of the RSS feed. I have 2 questions: 1) How do I keep the selected feed row checkmarked after I quit the app and open it again? 2) How do I call for the article table to reload when the modal...

ASP.Net MVC jquery Modal Dialog select from list and refresh Parent

In my project, i want to show a list of something to user and after a row is selected by user, the parent form will refresh without losing last data entry. I've created a sample project, please download and run it. You will see my note in that. (Edit a one row in the MainTable form and click on the "Select Item From List Please..." lin...

ASP.NET MVC "thickbox" Modal Dialog and selectList form

User has to input a field by selecting a row from a list. I can show a list in Modal Dialog with "thickbox". something like this. <%= Ajax.ActionLink("Please Select From List...", "ShowItemsList", "MyController",ViewData.Model, new AjaxOptions { InsertionMode = InsertionMode.Replace }, new { @class = "thickbox" })%> But i do not k...

Ajax loading gif

I want to show loading gif while I fetch my actual content from the server. I know how to get this done if it was just that. The problem I am facing is that I want to show this loading gif as a modal box. Can some one help ? Edited: Here is what I am doing in my code $('#'+buttonId).click(function(){ // Put an animated GIF image ...

How to recreate jquery dialog after destroy

Hi, I'm creating three modal dialogs on page load (using $(document).ready(function() {). I create these dialogs by calling a setDialogWindows() method, and pass it the div for the dialog. Dialog creation code is below: function setDialogWindows($element) { $element.dialog({ autoOpen: false, modal: true, show: 'blind', hide: '...

show modal popup on selected item from dropdownlist

i have dropdownlist containing some items ,,i want to show modal popup whena particular itm is selected from the list ...

jQuery UI modal dialog not blocking

I am new to javascript and jQuery. I am trying to implement a modal dialog using jQuery UI widgets. The modal dialog shows up correctly with OK and Cancel buttons, but the dialog('open') function call does not seem to block and wait for an OK or Cancel click. For example, when I run the following code .....on button click okToDelete...