Skip to main content

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) { $("#...
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 ...
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 ...
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 ...
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 ...
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> ...
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 ...
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....
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). ...
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="...
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 ...
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 ...

15 30 50 per page