Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All 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) { $("#...
Robertcode's user avatar
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 ...
user3079559's user avatar
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 ...
Mike Mastro's user avatar
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 ...
silverbullettruck2001's user avatar
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 ...
Hussein Salman's user avatar
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="...
B. Clay Shannon-B. Crow Raven's user avatar
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> ...
JonSnow's user avatar
  • 319
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 ...
ramin_rp's user avatar
  • 321
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). ...
t_plusplus's user avatar
  • 4,159
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 ...
James123's user avatar
  • 11.5k
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....
Bombula's user avatar
  • 15
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 ...
Priyanka's user avatar
  • 2,832
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 ...
tekiegirl's user avatar
  • 1,265
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 ...
CesarD's user avatar
  • 573
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 ...
Dejan Janjušević's user avatar
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'> <...
Mohammad Sepahvand's user avatar
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 ...
Amc_rtty's user avatar
  • 3,751
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 &...
Claud's user avatar
  • 1,065
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 ...
Ragnarsson's user avatar
  • 1,775
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 ...
GR7's user avatar
  • 5,145
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 ...
gdubs's user avatar
  • 2,744
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. ...
AliRıza Adıyahşi's user avatar
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 ...
emre nevayeshirazi's user avatar
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="...
Nil Pun's user avatar
  • 17.3k
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 ...
Elisabeth's user avatar
  • 21k
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 ...
Elisabeth's user avatar
  • 21k
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 ...
SventoryMang's user avatar
  • 10.4k
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 ...
Turp's user avatar
  • 708
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 ...
Venemo's user avatar
  • 18.9k
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....
ckittel's user avatar
  • 6,606

15 30 50 per page