5,287 questions
0
votes
0
answers
96
views
How to set up 3 update panels
I have 3 panels and would like to use update panels as follows for better display. ASP.NET / VB.NET
Panel 1:
2 text boxes
2 drop down lists
Panel 2:
2 buttons
Panel 3:
3 drop down lists
1 checkbox
If ...
0
votes
0
answers
31
views
Power BI report not embedding inside ASP.Update panel
I am using the ASP.NET WebForms framework and embedding the report using a JavaScript SDK approach.
The powerBIReportContainer div does not display the report when it is placed inside an <asp:...
0
votes
2
answers
88
views
AJAX implementation doesn't work properly for "like" button ASP.NET Core 2.1
I want to implement "like" button (only like, not dislike) in my project written on ASP.NET Core 2.1 version. This is discount classified site and want visitors to be able to like posts they ...
0
votes
1
answer
69
views
ASP.NET Core MVC ecommerce filtering products, brand name, categories with Ajax
Here is product filtering frontend HTML code:
Filtering Sidebar
<div class="widget widget-collapsible">
<h3 class="widget-title">
<a data-toggle="...
0
votes
1
answer
80
views
How to display a success or failure message after an AJAX call in an ASP.NET webforms app
I am working on an ASP.NET webforms project written in VB.Net. I want to call a web method in the code behind using Ajax. The button click event correctly calls the code behind method. However after ...
0
votes
1
answer
126
views
How to make my datatable reload with new data?
I am using ASP.NET MVC for a project and I have a datatable which is working fine when the page loads but when I submit a form for searching it returns the correct response in json but it does not ...
0
votes
0
answers
55
views
Tweets are not loading on the dashboard automatically
In this jQuery code, what I'm trying to achieve is that when the logged-in user clicks the follow button, the tweets of the person they are following should appear on the dashboard, and the follow ...
0
votes
0
answers
48
views
Checkbox is not selecting paginated data in JavaScript
I have a C# MVC project , in which I am trying to select all the checkbox using header checkbox in table. but on selection it only selects first page data not all paginated data.
I am using AJAX for ...
1
vote
1
answer
494
views
ASP.NET Core: AJAX call not reaching controller method
I'm encountering an issue where my AJAX call isn't reaching the controller method in my ASP.NET Core application. Despite setting up the AJAX call and controller method, I'm receiving a 404 error. ...
0
votes
1
answer
40
views
Can't get data in controller from Ajax in ASP.NET Core MVC
I am trying to pass data from a view to my controller. I am getting the values in Ajax correctly, but I am unable to pass them to the controller. I get the comment in controller as null always.
Ajax ...
0
votes
0
answers
62
views
Creating tabs similar to the tab structure in Google with C# .net-core mcv
enter image description here
Hello friends. I'm asking for help with something.
I want to set up a structure in the asp.net core web mvc project. In fact, this structure is similar to Google's window ...
2
votes
1
answer
39
views
ASP.NET MVC after serializing my data and sending http POST request the Controller receives a null parameter
I am trying to send an array with about 600 items of type Customer. The latter is a class I am using as a model which contains:
public class Customer
{
int ID {get; set;}
string Name {get; set;}
...
0
votes
0
answers
314
views
ajax request failing with "TypeError: Cannot read properties of undefined (reading 'open')"
Feel like I'm missing something obvious (I don't work with javascript or jQuery, I'm just playing around with it in my spare time), but I can't figure out why my ajax request won't work - can't find ...
1
vote
1
answer
73
views
How to call an action on ASP.NET MVC without postback?
I'm working with the WhatsApp Business Cloud API C# Wrapper Library and SignalR in a project to create a real time chat for a webpage. I've managed to separate the messages sent to the website ...
1
vote
0
answers
19
views
Sending Data By Ajax But Always Null Object In Controller
I sent information using ajax but I don't understand why in the controller what I get is always null data. I went crazy and tried everything I could find on here but still no success. Please help me ...
0
votes
1
answer
137
views
Server Error in '/' Application. The resource cannot be found. HTTP 404, Requested URL: /UsersPage/undefined
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and ...
0
votes
1
answer
52
views
Cannot use navigation property in Ajax (ASP NET Core 6)
When I perform an Ajax get request, the server returns something like this :
{
"$id": "1",
"$values": [
{
"$id": "2",
...
1
vote
1
answer
172
views
Download Excel Via MemoryStream through Ajax works for New Excel, but not for existing excel files in the server
I have a .Net 6 Razor pages application where I need to download an excel on a button click via Ajax. I am able to successfully do that by creating a new excel workbook in memory stream using OpenXML ...
2
votes
0
answers
88
views
JQuery Ajax getting response of eval(function(p, a, c, k, e, d) instead of partial view
We have application in ASP.NET MVC 4.5.2 with JQuery 3.3.1 and production we have load balancer and we have 2 nodes of server. We are facing weird behavior when ever we requesting sometime we are ...
1
vote
1
answer
52
views
C# method receives null from ajax call
I'm trying to get accostumed to how ajax works, so I'm just trying to send a string to a C# method (I also tried Json and other types before) but no matter what I change the method seems to always ...
0
votes
2
answers
64
views
Controller receives null from Ajax in ASP.NET Core 6.0 MVC
I am writing a program that captures a list of variable data, which I am trying to pass through jQuery to an ASP.NET Core 6.0 MVC controller.
This is the data model:
namespace RTS_RecruiterSystem....
0
votes
1
answer
47
views
AjaxToolkit CascadingDropdown is populating first parent but childs are not populated because knownCategoryValues parameter is empty
I am trying to use ajaxToolKit CascadingDropdown with three DropdownList Controls that are being populated from an ASMX WebService. The first dropdown is being populated correctly, but when I select a ...
0
votes
0
answers
80
views
Getting 500 Response on Ajax Call in Razor Page View Component
I am working on an ASP.NET 7 project where I have a Razor page, and I have used Ajax to call the GET method from the C# file.
I am calling the GET method from the CSHTML using Ajax to CSHTML.CS. There,...
0
votes
1
answer
2k
views
How to serialize list in JSON object
I have a serialised object
{
a: “test”,
B[1].Name : “test”,
B[1].Surname : “testing”,
Etc.
But when I sent this object in using ajax Post method in cshtml file, my model is setting the list of b to ...
-1
votes
1
answer
107
views
Using jQuery to show data from database in table not getting data in ASP.NET Core
I am trying crud operation using popup and jQuery but at start I only try to show data from database in table using jQuery Ajax. It does not show error message but not fetching data from database. I ...