jquery-dialog

asp.net gridview in jquery dialog not posting back new data

Iam using Jquery dialog widget to load a page into the current page's div. The loaded dialog has a gridview with one editable input per row. My problem is : The input typed into this textbox is not being passed to the server on submit. The problem seems to be only for textboxes within the gridview. If I put another textbox any where on t...

Setting Tab Order on UI Elements in jQuery Dialog

Is there a way to specify the tab order of the elements within a jQuery Dialog which itself contains an Accordion? The dialog also specifies one button in the buttons options. For accessibility, we need to be able to tab through the accordion panes, the form elements in each accordion, the button in the buttons options, and the close ico...

Trying to get an updatepanel w/ datagrid to refresh after new record added via jquery dialog

I hesitate to ask because I think this will be hard to explain. I have an asp.net page with several input fields, cancel/submit buttons, and a gridview in an update panel. There's a button to add new records to the gridview, and that is handled with a jquery dialog (to maintain a consistent look/feel with rest of site) with a ajax call...

$('#idField').val() inside a JQuery Dialog.

I would like to know if I can use the following JQuery function on a item id located inside a JQuery Dialog. $('#idofmyfield').val() Didn't return anything. ...

bgiframe appears in front of jquery modal dialog's overlay in IE6

When I look at jquery ui's demo modal dialog (http://jqueryui.com/demos/dialog/#modal) in IE6 the bgiframe is appearing on top of the background overlay. So instead of seeing a black/gray stripe pattern, there is just a white background covering the page with the word "false" in the upper left corner. Is bgiframe broken with the latest...

JQuery, JSF and a4j:commandLink

Hello ppl, I have a problem with using jQuery Dialog and Ajax submit in JSF. I have the following code for displaying Dialog windows: <script type="text/javascript"> jQuery(function(){ // Dialog jQuery('#dialog').dialog({ ...

jQuery UI Dialog - Ajax in PHP

I have an HTML form in a PHP file like the attached snippet: When I hit the "Save Details" button, I want the page to load a jQuery UI modal dialog. That dialog will execute a controller action (ex:savedetails) through Ajax. Essentially, the controller action will get all the POST details in "frmEmployees" and saves the changes to a dat...

Refresh (F5) not working in jQuery Dialog

I am using the jquery dialog widget to display a modal box. However when pressing F5, while the modal is open no refresh happens. Any idea? Interesting Update: Try this demo: http://jqueryui.com/demos/dialog/#modal-message Now when the focus is on the "ok" button, then the refresh (F5) works, however when the button does not have the f...

Injecting JavaScript Outside an Update Panel

I have an aspx page with four UpdatePanels. Incidentally, each UpdatePanel corresponds to a JQuery UI tab. What I am trying to achieve is a JQuery UI modal dialog OUTSIDE the UpdatePanels that can be called from server-side code running INSIDE any of the UpdatePanels. So, inside the first UpdatePanel is an asp:Button which runs some serv...

Cookies and Jquery: Dialog Boxes

I am having difficulties creating a cookie (using the jquery cookie plugin) that will remember the position of all dialog boxes on the page (class .dialog). The dialog boxes are draggable. This is what I have tried: <script> jQuery(document).ready(function() { // cookie period var days = 1; // load positions form cookies ...

ASP.NET: How to "reset" validation after calling Page_ClientValidate

I have an ASP.NET page with a jQuery dialog that is displayed to change some data. I am setting up the jQuery dialog so that when the user clicks the OK button it calls ASP.NET's Page_ClientValidate('validationGroup') via javascript, finds all the invalid controls and changes their CSS class. So here's the scenario: the user opens the ...

jquery dialog interferes with .net input checkbox checked property - always false

I came across the following given a asp.net page containing <div id='test'> <input type='checkbox' id='ch1' name='ch1' runat=server /> <input type="button" id="view_test" /> </div> and the following jquery code to show this div in a dialog $("#view_test").click(function() { $("#test").dialog({ show: 'slide', width: 600, title...

jQuery UI Dialog with AJAX Tabs Problem

I'm having an issue using jQuery Tools Tabs (AJAX) along with jQuery UI Dialog (manually doing the AJAX loading for the dialog). The issue is that the dialog is loaded and setup specifically for the current tab (loaded on the tab request via AJAX, along with the tab's content). jQuery UI, when creating the dialog, removes the container...

Override jQueryUI dialog default options

I want to be able to create modal dialogs, with, for example close: function() { $(this).remove(); } default option, without need to specify those on dialog creation, but somehow override those parameters on one place. Is this possible? ...

How to add a footer to the popup dialog in jquery?

I am trying to create popup using the jqueryui dialog. I am trying to add a footer after the content in the dialog. my dialog should look like <popup> header-html content-html footer-html </popup> The dialog already has header and i can put content in the div. But, how can i add the footer html?? I want this footer to be there ...

jQuery UI Dialog problem if modal is set to TRUE

Hello! I'm developing an ASP.NET WebForm application with Visual Studio 2008 SP1 and C#. I have the following ASPX page: <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title></title> <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script> <script src="js/jquery-ui-1.7.2.custom.min.js" typ...

jquery tooltip over dialog

I have a simple html multiline tooltip implementation: this.tooltip = function(tag) { xOffset = 10; yOffset = 20; $(tag + ".tooltip").hover(function(e){ this.t = this.title; this.title = ""; $("body").append("<p id='tooltip'>"+ this.t +"</p>"); $("#tooltip") .css("top",(e.pageY - xOffset) + "px") .css("l...

What's the new method for setting defaults for jQuery UI's dialog?

I've been using the following in UI 1.7, but it doesn't work in 1.8 any more: $.extend($.ui.dialog.defaults, { modal: true, bgiframe: true, autoOpen: false, width: 500, height: 400, minWidth: 500, minHeight: 400 }); Is there a new method? ...

Authorization and Jquery dialog problem.

Hi, I have a little problem with a Jquery dialog for an action that requires a role. In my example, the user can click on a delete button and must confirm the action. In my controller, the Delete action requires a role, if the user is in the required role, the object is deleted. The problem: How to alert the user if * the element was d...

CKEditor instance in a jQuery dialog

Hey, I am using jQuery to open a dialog window with a textarea transformed into an instance of CKEditor. I'm using the jQuery adapter provided by the CKEditor team but when the dialog window opens up I cannot interact with the editor (it's created but "null" is written in the content space and I can't click on anything or modify the con...