Tagged Questions
0
votes
1answer
16 views
submitting an asp.net MVC 3 form using jquery ajax
I am working on asp.net MVC 3 application and I have a jquery dialogue with Ok button. On click of OK I want to submit a form using jquery AJAX. My ajax call looks like this:
...
1
vote
1answer
41 views
jQuery .toggle() does not work after text loaded into div
In my ASP MVC 3 page I am trying to use jQuery .toggle() to hide and show a text box based on whether a user has clicked on a checkbox or not. When the page loads, the text box is hidden. Most of the ...
2
votes
1answer
54 views
jQuery .show() method not working inside .click function
Below is code that is supposed to make a text box appear/disappear based on whether or not a box is checked (the text box is hidden when the page loads). All the alerts are firing properly, however I ...
0
votes
1answer
33 views
jQuery .change event not firing for ASP MVC CheckBoxFor
Below is the jQuery code I'm trying to use to make a hidden text box visible. However when clicked the text box stays hidden, and none of the alerts will fire.
For this check box I have tried ...
1
vote
2answers
46 views
Use jQuery to check and see if div element is empty
Below is the code I'm using to place a blur event on a text box in my ASP MVC 3 view. The code works fine if #MailingState is empty, however it cannot tell if #channelName is empty.
For example, if ...
0
votes
3answers
35 views
Returning List as Json and viewbag from same controller action
I am working on asp.net MVC 3 applciation. I have a jquery ui dialog. On Ok button of this dialog, I am opening another jquery ui dialogue. In order to populate the newly opened popup, I am using ...
0
votes
1answer
26 views
jQuery .blur method not working
I am trying to set up an Ajax call whenever the user enters information into a particular field on my ASP MVC web page. Below is the jQuery .blur method
$('#MailingZip').blur(function () {
...
0
votes
2answers
26 views
jQuery Drop Down has no method 'val'
Below is a simple jQuery if statement I'm trying to use on my ASP MVC web page, but I continually get the error
Object #drpProducerType has no method 'val'
I also tried using the :selected syntax, ...
2
votes
2answers
40 views
A circular reference was detected while serializing an object of type 'System.Reflection
I have an asp.net MVC 3 controller action method like this:
public JsonResult GetRecordingRates(int Id)
{
List<DefaultRateChart> defaultRateCharts = new ...
1
vote
1answer
40 views
jQuery Unobtrusive Validation - remote validation gives false positives and settings being ignored?
I thought I had a pretty bullet-proof set up for using jQuery Unobtrusive Validation for MVC web apps but a recent bug has me very puzzled.
I want all the validation to be consistent so use remote ...
0
votes
1answer
33 views
Id of selected item not correct
I have following list. I am using this list as a treeview.
<div id='DataTree' >
<ul>
<li id='home'>Home</li>
<li ...
3
votes
2answers
47 views
jQuery autocomplete not displaying data returned from Ajax call
Below an Ajax call wrapped inside a jQuery autocomplete source function. checking the return value in Fiddler and also in Chrome's Network console, I can see that the data is being returned to the ...
1
vote
1answer
100 views
jQuery - Use key/value pair in autocomplete
In my ASP MVC view, I am passing a key/value pair back from the controller. After looking at fiddler and viewing in Chrome's debugger I can see that the information is being passed back correctly.
I ...
-3
votes
0answers
26 views
Add ajaxification to pagedlist in mvc3 [closed]
I know Troy added ajax to his pagination library, PagedList.Mvc. I was wondering if anyone has a link to a example of the implementation using MVC3.
3
votes
1answer
70 views
can't find action only on live server, works fine in local server
A public action method 'AddPromoCode' was not found on controller
'Flazingo.Controllers.PositionController'. at
System.Web.Mvc.Controller.HandleUnknownAction(String actionName) at
...