Skip to main content

All Questions

0 votes
1 answer
74 views

How to use cache busting with WebOptimizer?

I am using the LigerShark WebOptimizer library (GitHub link) in a .NET 9.0 MVC application. I want to enable cache busting, but whenever I do so, I encounter some difficulties. I find that the ...
Alex's user avatar
  • 1,726
0 votes
1 answer
77 views

ASP.NET Core prevent logout after register new user

I am working on ASP.NET Core 2.2. After the user registers for the first time, the user is redirected to their personal page, which requires logging in. This is the script in my login.cshtml: <...
topcool's user avatar
  • 2,720
1 vote
1 answer
70 views

Passing entity model data into Bootstrap Modal

I'm trying to pass data to a modal. After searching around the internet and following bootstrap I found a couple of ways. 1) is by passing the model through data-bs-whatever="@Model", ...
DonDavid12's user avatar
0 votes
1 answer
109 views

How to handle login errors and display them in a modal window without redirecting?

everybody. I have a modal window and a method for Login, i.e. there is no separate view for the Login page. I am facing a problem, when the login data is not correct, it displays an error directly in ...
amg63's user avatar
  • 13
1 vote
1 answer
55 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="...
krmdev's user avatar
  • 11
0 votes
2 answers
64 views

Dynamically reflect total and quantity amount

I'm having trouble getting the products quantity to reflect the total amount in the razor page. I want the client have the ability to add/remove products when they're in the cart to dynamically change ...
DonDavid12's user avatar
1 vote
2 answers
78 views

.NET Core Ajax Call to Controller

This is my Index.cshtml: @{ ViewData["Title"] = "Home Page"; } <div class="text-center"> <h1 class="display-4">Welcome to SyncFusion</h1&...
coder's user avatar
  • 13.3k
0 votes
1 answer
77 views

How to setup jQuery in Webpack and use in a .cshtml file?

I am working on setting up webpack in an ASP.NET Core MVC app. After installing jQuery as a dependency, I am getting an error everywhere I am trying to use jQuery: Uncaught ReferenceError: $ is not ...
dev_in_training's user avatar
0 votes
2 answers
110 views

How to refresh jquery datatable without database call

In my ASP.NET Core MVC app, I am using a jQuery datatable and it uses Ajax calls to load data from database. The datasource is a List<Student> object. Now I load the datatable with List<...
Sofiya kalan's user avatar
0 votes
0 answers
52 views

ASP.Net Core MVC - Deleting table rows in view is not received properly in POST action method when form submits

I have a table in ASP.Net Core MVC Project. It is bound to a ModelList object MandateCheckDetailsList in my ViewModel. I have a Delete button in each row which is used to delete the particular row. ...
User's user avatar
  • 11
1 vote
1 answer
243 views

Not getting the selected rows of jQuery Datatable that uses Ajax call

I am working on a ASP.Net Core MVC C# app and in my single View, I am using 2 jQuery Datatables. I am using ajax call to load the datatable. I am getting below error in my console. There is no error ...
KitKat's user avatar
  • 57
1 vote
1 answer
98 views

Row transferring is not working between jQuery datatables that uses ajax call

I am working on an ASP.NET Core MVC project in C#, and I have 2 jQuery datatables (Exclude table and Include table) horizontally aligned. In between these 2 datatables, there is 2 buttons (right arrow ...
KitKat's user avatar
  • 57
0 votes
2 answers
153 views

How to select rows from jQuery datatable that uses AJAX call

I am working on a C# ASP.NET Core MVC app and I use jQuery datatable to display data from a database. The problem is I am not able to select single or multiple rows in this table. I have a table like ...
KitKat's user avatar
  • 57
1 vote
1 answer
143 views

Using ASP.NET Core 8 MVC with jquery-ajax-unobtrusive but what's the best way to handle unexpected exceptions?

I am using jquery-ajax-unobtrusive to make an ajax call to the controller endpoint in an ASP.NET Core 8 MVC web app. The endpoint returns a PartialView if successful and is working as expected on ...
RyanO's user avatar
  • 51
0 votes
0 answers
32 views

ASP.NET Core MVC with jquery beforeunload problem on ios

function isEventTriggeredByLink(event) { var activeElement = document.activeElement; return activeElement && activeElement.tagName === 'A'; } $(window).on('beforeunload', function ...
Vështrim Mulaku's user avatar

15 30 50 per page
1
2 3 4 5
34