All Questions
37
questions
0
votes
2
answers
901
views
How to show a JQuery dialog on successful return from a jquery ajax invocation
I am having a problem showing a jquery dialog on the return of an ajax call. Below is the dialog and supporting html:
function ShowDeleteReturnStatusDialog(deletedId) {
$("#...
0
votes
1
answer
507
views
Jquery Dialog not loading in aspnet MVC
i want to be to display child records when i click a button . The data is displayed as a table.
I have created a partial view that will display the records.
I have created a controller action method ...
0
votes
1
answer
1k
views
Transitioning from Kendo UI Window to JQuery UI Dialog
Looking for advice or help to remove Kendo UI Window code and replace it with JQuery UI Dialog. As we transition from ASP.Net MVC to a ASP.Net Core 1.0 MVC site, management has decided to do away ...
0
votes
2
answers
1k
views
Need to close Jquery UI dialog from controller action in MVC 5
I am building a site where I am calling a partial view within a jquery ui dialog box. Within the partial view there is a 'save' button that commits the data on the form to the database. Currently it ...
0
votes
0
answers
391
views
Partial View (Dialog form) cannot resolve jquery functions
I am using JQuery UI Dialog function to load a partial view. The Dialog form contains input controls that holds data to saved in database. I am trying to get the values from the controls to post them ...
0
votes
1
answer
169
views
How can I get a jQuery UI Dialog to display as a Dialog (instead of being pinned to the bottom of the page)?
Using the idea here as a "proof-of-concept" before replacing the html with my own, I added html adapted from that to my Index.cshtml file (ASP.NET MVC app):
<div id="dialog-message" title="...
1
vote
3
answers
87
views
jQuery dialog: How to remove added but unsaved items on close
I have a jQuery Dialog popup in which I can review and add items to the existing content.
The new content is being saved as soon as I click the SAVE-Button.
<div id="container">
<ul>
...
3
votes
2
answers
8k
views
$.validator.unobtrusive.parse not work when load partial view to jquery-ui dialog?
I have a partial view for my login dialog content.
In my page i have
<input type="button" value="Open" onclick=" OpenDialog() "/>
<div id="dialog">
</div>
Here is the code that ...
1
vote
1
answer
4k
views
How to bind a WebGrid in a PartialView, which is in JQueryUI ModalPopup
I have this PartialView, which is loaded from the Layout of an MVC4 application.
On a button click in the main navigation menu the method SearchCustomers is called in an ajax post (shown below). ...
2
votes
1
answer
2k
views
Ajax.BeginForm not catching OnSuccess with jQuery UI dialog in MVC?
I am loading partial view with Jquery UI dialog. In partialview post submit I want capture results in updateSuccess function. But function was never called and results was showing on page.
Parent ...
0
votes
1
answer
380
views
MVC razor update record inside jquery dialog
I have a mvc razor view, this view contains a couple records.Now how can i get record inside jquery dialog for update.I don't get record according by "Route ID" because it is 5 and no data that ID 5....
0
votes
2
answers
3k
views
jquery ui dialog not showing in center of window after setting position to center
I'm new to jquery ui dialog box. I used dialog box in my MVC website.
I placed my dialog container in layout page inside body tag as follows-
<div id="dialogBox"></div>
And then on my ...
0
votes
0
answers
3k
views
JQuery UI Dialog TypeError: Object [object Object] has no method 'dialog' (no repeated reference to jquery or jquery-ui)
I know there are many other similar questions on here, but none of them have solved my problem.
I am trying to create a dialog box which prompts the user to choose whether to leave the page (and ...
2
votes
1
answer
5k
views
Validate JQuery UI modal form within another form in MVC 4
I have a form in MVC 4 which contains several fields and, depending on the value of a combo, I need to open a modal dialog form and load into that one 3 additional fields that will impact against the ...
2
votes
1
answer
230
views
A dialog inside a dialog gets rendered N times over itself
Using ASP.NET MVC 4, jQuery 1.6.2, jQuery UI 1.8.11. Currently debugging in Firefox 16.0.2.
I am trying to make this thing work so I have a reusable jQuery UI modal dialog with autoOpen: false which ...
2
votes
1
answer
2k
views
jQuery UI Modal Dialogs in MVC
Excuse me for the simplistic question, but I've had a hard time getting my head around this. I have a View (.cshtml) with the following contents (Per this sample):
<div id='dlgLogin'>
<...
0
votes
1
answer
1k
views
Load jqueryui modal dialog from function in external js
In ASP.NET MVC, I am trying to show a jqueryUI modal dialog, by calling a function that resides in an external js file. The reason for this is that i want to have a js method written somewhere and ...
2
votes
2
answers
3k
views
Jquery dialog isn't working in MVC
Now I know it's been asked before but I can't seem to get JQUERY dialog to work.
I have an easy example that I got from the JQUERY website but the dialog never pops up.
My _Layout.cshtml page
&...
0
votes
3
answers
257
views
MVC JQuery Dialog submit more than 1 time
I am using JQuery's UI dialog to open a form. My attempt is to submit and close the dialog. I am having trouble.
The parent window opens the dialog (which contains a partial view) from click and form ...
0
votes
1
answer
264
views
Most efficient way to pass Entity information to a jquery dialog in ASP.NET MVC 3
I have this ASP.NET MVC 3 Page where I'm looping a collection of objects in the Model, and basically I will have a button next to each entity information/display to allow the user to edit that entity ...
0
votes
1
answer
1k
views
mvc c# with jquery getjson not closing the modal popup but redirects to another page with json result
So I'm not sure what's happening here. I have this modal popup that loads a partial view from an action (this might be the problem??) . The partial view loads perfectly and processes fine but once the ...
1
vote
2
answers
6k
views
ASP.NET Mvc jquery ui dialog as view or partialview?
I want to show view or partialview on dialog. There is an example in ASP.NET Mvc 4 default template (AjaxLogin.js). AjaxLogin.js catches if login is ajax. And runs jsonresult or actionresult. ...
0
votes
1
answer
3k
views
JQuery UI Dialog - Uncaught TypeError: Cannot call method 'getTitleId' of undefined
I am trying to use JQuery UI Dialog plugin in my ASP.NET MVC application. My problem is when I load my page, the the Chrome console gives the following error in jquery-ui-min.js file.
JQuery UI ...
3
votes
1
answer
399
views
MVC 3 with unobstrusive parse doesn't work on JQuery Dialog?
I've a MVC 3 application with Input tag with "data-val-remote" tags.
e.g.
<div id="dialog" title="Test">
<input class="captcha_input" data-val="true"
data-val-remote="...
0
votes
2
answers
782
views
Why are no validation errors shown with an Ajax form in my MVC?
What is wrong if no validation errors are shown when the submitted data is null/empty? An error should be shown.
In the code block result.success == false, should I reload the view or tell jQuery to ...
1
vote
1
answer
2k
views
Jquery dialog on submit returns Json data in white viewport
When I press the Save button I return from my Controller this:
return Json(new { success = true });
and my whole browser viewport is white and in the left top corner I see my json data I have ...
0
votes
2
answers
381
views
MVC 3: Change User jQueryUi dialog on _Layout view, how to handle?
I am trying to implement an admin feature on my site that allows an admin to impersonate a user by inputting their username (to see what they see).
Right now I have this setup as a jQueryUi dialog in ...
2
votes
1
answer
4k
views
JQuery Dialog Load Page Containing Javascript Code
I am loading a Partial View in a Dialog box that contains Javascript. When the partial view is displayed in the Dialog box, the partial view shows up, but any Javascript that was in the partial view ...
1
vote
1
answer
1k
views
How to persist jQuery UI dialog state between requests?
I have an ASP.NET MVC web application. The application can be managed with a "remote control", which is a jQuery UI dialog and appears only when a user with sufficent permissions logs in and clicks on ...
4
votes
2
answers
11k
views
Display MVC3 Unobtrusive ValidationSummary errors in a jQuery UI Dialog
I'm looking to display MVC3's unobtrusive ValidationSummary errors in a jQuery UI Dialog. Specifically, I want to be able to have a "live" $('.validation-summary-errors').dialog(...);-like experience....
3
votes
2
answers
534
views
jQuery generic code
I am using jQuery modal dialogs in my app to handle normal CRUD operations. In some cases I have even two stacked modal dialogs open.
I have then created two generic function in an external ...
0
votes
1
answer
625
views
How can I close one jQuery UI Dialog and focus on another?
After my call to $.ajax(), all UI Dialogs currently close and the page appears to do a full postback as per firebug--this is not what I want. I want the List ** UI Dialog** (read: partial view) ...
0
votes
1
answer
2k
views
Submit a form in a jQuery Dialog box and close upon successful POST to MVC Action
I am using the method from this question to create a pop-up to show a form where the user must "sign" it and then click submit. I have the pop-up working and displaying data. Now I want to submit the ...
5
votes
1
answer
7k
views
How to get the Focus on one of Buttons of JQuery Dialog on ASP.NET MVC page?
I have an ASP.NET MVC page(Registration). On loading the page, i am calling Jquery Dialog with Agree and Disagree buttons on that Dialog.
1). How to set the focus to Agree button by default?
2). How ...
0
votes
1
answer
424
views
Displaying a silverlight plugin in a jQuery UI dialog box not sizing correctly
I have a login page which detects if silverlight is installed and will degrade to html when it is not.
I'm using jQueryUI.dialog to display both; the dialog box appears but is too small to see the ...
4
votes
1
answer
4k
views
How do i implement a login view as a jQueryUI dialog box in ASP.Net MVC
I've seen a few example of similar things and i've also looked at the KiGG application which also uses a dialog box to display the login box. I'm pretty new to MVC but making some good progress and i'...
83
votes
11
answers
166k
views
Passing data to a jQuery UI Dialog
I'm developing an ASP.Net MVC site and on it I list some bookings from a database query in a table with an ActionLink to cancel the booking on a specific row with a certain BookingId like this:
My ...