Skip to main content

All Questions

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 ...
Frederik's user avatar
  • 2,178
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 ...
Rita's user avatar
  • 1,237
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
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'...
John Kattenhorn's user avatar
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
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 ...
Lorenzo's user avatar
  • 29.3k
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
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
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
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
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
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
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
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

15 30 50 per page