#8279 closed bug (invalid)
passing array as data in .load() method not recognized in controller
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | ajax | Version: | 1.4.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
I am using asp.net mvc 3.0 and jquery I am loading partial view dynamically through load method. The code is as below:
code in my js file:
dvLoadGrid.load('MyModelMethod', { 'names': ["name1", "name2"] }, function (data) { });
method in controller
public ActionResult MyModelMethod(string[] strArrArgs) { return View("myPartialView"); }
The above method gets called but the parameter 'strArrArgs' is null. The same works with jQuery.ajax.
Am i missing something??
Please help...
Change History (1)
comment:1 Changed 12 years ago by
Component: | unfiled → ajax |
---|---|
Description: | modified (diff) |
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The jQuery bug tracker is not for support requests. Please try the #jquery irc channel on freenode or use the jQuery Forum for support requests which aren't related to jQuery core directly.
If you can indeed narrow this down to a bug in jQuery.load/jQuery.ajax please report back with a reduced test cases which reproduces the issue you are experiencing, on http://jsfiddle.net.
How to report bugs