All Questions
4,697 questions
0
votes
0
answers
19
views
DataTable is always empty in ASP.NET MVC
I am working with jQuery datatables, but the datatable is always empty when the page loads. On inspecting the network tab, the request returns an empty response but when debugging the controller ...
0
votes
1
answer
55
views
How to implement client-side and server-side validation for teacher updates in ASP.NET MVC?
I’m working on a school management system (ASP.NET MVC + MySQL) and need to implement update functionality for teacher records with robust validation. Here’s where I’m stuck:
Current implementation:
...
-1
votes
1
answer
54
views
Get Session Model from webpage using jquery [closed]
I am doing an MVC 6 App. I have a model like this
public class SearchModel
{
public string SSN { get; set; } = string.Empty;
public string EmployeeNumber { get; set; } = string.Empty;
...
0
votes
2
answers
51
views
My ajax post request doesn't work in my ASP.NET MVC project
I'm trying to make a request to controller but it doesn't work. The first console.log() shows the correct id, so I think I passed it right in the html button. The id parameter is always 0 when it ...
0
votes
0
answers
48
views
Data Tables Refresh on Edit / Update
In my project, I have been using Data tables to show the list of data from the database per required view.
So in the view, I have this code
<div class="table-responsive mt-4" style="...
0
votes
0
answers
58
views
Unable to re-render newly saved data to a partial view in ASP.NET MVC application
I am working on an ASP.NET MVC application and in html on the click of a button, I call the function shown below - AddGroupFilter.
This passes two fields to the AddGroupFilter controller method and ...
0
votes
1
answer
164
views
Filter menu is not working with jQuery DataTable
I am dynamically loading data into the jQuery datatable using ajax method. The filter menu is droping down when clicking on the filter icon in datatable column header and it shows always "...
0
votes
2
answers
100
views
How to get the property's name of an object using jQuery?
this is my form:
<form id="inventoryForm" action="/ManderalMatrix/AddManderalInventory" class="reactiveToButton">
<div class="row" style="...
0
votes
1
answer
64
views
How can I make an ajax call asynchronously from Javascript to mvc controller method and to wait for the result to proceed to next line of code
I am trying to get the result from the function called 'validateScheduleDate()' and only if the result comes from the function, then next line of code should be executed. I am trying to validate two ...
0
votes
0
answers
30
views
Dealing with Chunk file upload using jQuery and ASP.NET MVC
I am trying to upload the documents in a bulk as a chunk but unfortunately the documents which are being uploaded is corrupted.
I am storing few metadata along with file, first I am storing the ...
1
vote
2
answers
66
views
How to append List to FormData in JQuery?
I get model's values from view with this codeblock and this part is OK.
var data = new FormData();
var datas = $(this).serializeArray();
for (var i = 0; i < datas.length; i++) {
data.append(...
0
votes
2
answers
56
views
Problem in sending data to the controller through Ajax in ASP.NET MVC
I use this foreach:
foreach (var item2 in RItem.GetChildItems(item.ID_Ca))
{
<div id="@idc" class="accordion-collapse collapse" aria-labelledby="headingTwo2"
...
0
votes
0
answers
32
views
How can add drop-down from other table in my kendo grid
So I want to drop-down of the items that are present in other table and I want them in my kendo grid using asp.net Mvc so how can I do that ?
I tried to take 2 columns name in my main model from the ...
-1
votes
1
answer
70
views
Run a script that checks for SQL Server changes that returns a boolean value
I already plan on doing this differently with webhooks, but for now I just need to show a PoC for this where the browser client will check on intervals if there's any changes to an SQL Server database ...
0
votes
2
answers
61
views
Call aspx.cs file function from jquery
I have button in aspx file as below :
<asp:Button ID="btnSave" Style="display: none;" runat="server" OnClick="btnSave_Click" />
Now in aspx.cs file I ...