Skip to main content

All Questions

Tagged with
0 votes
1 answer
21 views

Reloading MVC5 Partial View that contains a Document Viewer

I have a partial view in MVC5 that displays a document viewer and a button that lets users upload a document. I want to be able to reload the contents of the partial view or just reload the entire ...
Ephraim Ross Jacinto's user avatar
0 votes
0 answers
59 views

In ASP.NET MVC 5 view, jQuery weird post method error 404 wrong URL hit issue

I am having a weird issue with ajax post request URL in ASP.NET MVC 5 from Razor view page. My controller is: [Authorize] public class DashboardController : Controller { [HttpPost] public ...
Liakat Hossain's user avatar
-1 votes
1 answer
46 views

Struggling to call a Jscript function within jquery

I have a small MVC5/C# Web application. In short, users will select a location from a dropdown ("#UnitList"). This fires the jquery event, to populate the next dropdown ("#CheckItem&...
ExecChef's user avatar
  • 407
0 votes
0 answers
173 views

creating a TreeView for Mvc 5

I'm new to MVC and I want a simple treeview structure with some dynamic data(list of folders and subfolders) in it. I have seen many example where data is being taken from Sql database which makes it ...
Vidyottam's user avatar
0 votes
0 answers
91 views

ParserError when returning PartialView from MVC controller route with Bound Prefix

First time posting here, but I have exhausted every google permutation I can think of. Unfortunately, I am working with a view that needs to have multiple partial views loaded at the same time, that ...
Trenton Blackburn's user avatar
0 votes
3 answers
837 views

How to split and join a DN to a path from an Active Directory object in either C# or JavaScript

Using the following: string distinguishedName = deUser.Properties["distinguishedName"].Value.ToString(); Dumped to a list is giving me the correct DN of a test user: CN=Test User,OU=PHL,OU=...
muttBunch's user avatar
  • 143
0 votes
1 answer
192 views

Unable to get Select2 tag values from view to controller in ASP.NET MVC 5

I am trying to get tag values from view to controller. Here is what I am doing: my model attribute for getting Select2 values: In model: public string[] TagList { get; set; } In the view I have a ...
salo's user avatar
  • 15
0 votes
2 answers
329 views

Parameter not populating from Ajax call (Tried everything)

Good day everybody. I have a simple Ajax call. In simplicity, it reads a password from a password field, populates it into a variable, and then sends it across to my StrengthCheck controller. So ...
Matthew Leslie's user avatar
-1 votes
1 answer
221 views

ASP.NET MVC - JQuery call from url without action not working

I have a http://localhost:54393/CreateTest/4fwp36 which working fine but when I call http://localhost:54393/CreateTest/RemoveControlsNew from jQuery ajax then it is not working giving an error also ...
Dhaval Soni's user avatar
0 votes
1 answer
56 views

request.files returns null when using onsubmit attribute

Request.files returns null after adding onsubmit attribute to the BeginForm and working fine when removed . I tried with id attribute same issue. also i tried to add from collection in the controller ...
marwen1's user avatar
  • 11
1 vote
0 answers
375 views

How to assign value to model property in javascript

I want to change the value of somecolumn textbox on change event that value is changing properly. but I am not getting value of var1 on Ui. but I got value of var1 in js fie . following is the c# code ...
Explorer's user avatar
  • 361
1 vote
0 answers
103 views

Concurrent AJAX requests appear to delay each other

I have a form that queues up parallel ajax queries using essentially this pattern: var req1 = $.Deferred(); $.ajax("...", {type:'GET', data:form, /*...*/, success:function(){ req1.resolve(); ...
Alain's user avatar
  • 27.1k
1 vote
1 answer
835 views

Radio button value is not changing for second time

I have 3 radio buttons as shown below. I want to change the placeholder of textbox1 and textbox2 as per the selection of radio buttons. @Html.RadioButtonFor(model => model.Type, "...
Explorer's user avatar
  • 361
1 vote
2 answers
763 views

In Ajax response my if condition is not working

Check the jquery code bellow. Here after process post request the response returning no_file_found but if condition not meeting and not hitting alert(). Whats wrong i am doing here? $("#btnFoo&...
Dill Gates's user avatar
0 votes
0 answers
20 views

Validation is not working with Ajax call in mvc 5 [duplicate]

I am trying to call controller action method using ajax call but client side and server side validation seems not working. When I don't use ajax call then validation work find but not with this ...
Neu's user avatar
  • 197

15 30 50 per page
1
2 3 4 5
18