All Questions
37
questions
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....