All Questions
260 questions
0
votes
1
answer
39
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 ...
0
votes
0
answers
61
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 ...
-1
votes
1
answer
51
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&...
0
votes
0
answers
200
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 ...
0
votes
0
answers
109
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 ...
0
votes
3
answers
1k
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=...
0
votes
1
answer
218
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 ...
0
votes
2
answers
636
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 ...
-1
votes
1
answer
248
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 ...
0
votes
1
answer
58
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
...
1
vote
0
answers
379
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 ...
1
vote
0
answers
105
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(); ...
1
vote
1
answer
898
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, "...
1
vote
2
answers
831
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&...
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 ...