Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
39 views

DataTable values are getting the default values (initially loaded values) when we click on the dropdown icon of DataTable in ASP.NET & C# using jQuery

I'm very new to this DataTable logic implementation concept and I have append the data to the DataTable and append successfully and in that DataTable controls I have written some event logic (ex: ...
ashok's user avatar
  • 359
1 vote
2 answers
48 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(...
user26029025's user avatar
0 votes
1 answer
62 views
+50

Passing two parameters (IFormFile and a string) with JSON to C#

Versions: ASP.NET and Web Tools - 17.10.341.11210 C# Tools - 4.10.0-3.24312.19+ JQuery - 3.3.1.js JS - 2.8.3.js I'm trying to pass an IFormFile and a string from a JSON file select and a string input. ...
Kevin Fischer's user avatar
0 votes
1 answer
39 views

How to change from readonly to not readonly of input in ASP.NET Core

MODAL <div class="modal fade" id="residentModal" tabindex="-1" role="dialog" aria-labelledby="residentModalLabel" aria-hidden="true"> ...
Erck's user avatar
  • 33
0 votes
1 answer
45 views

Display the all the details of Resident after clicking the view button using ASP.NET Core

Manage.cshtml <table class="display table" id="ManageResident" style="width:100%"> <thead> <tr> <th>Resident ID</th> ...
Erck's user avatar
  • 33
2 votes
1 answer
30 views

Manage concurrent users per single subscription

I am implementing a functionality in which user can take one subscription &** maximum 10 account can be created per single subscription but only 3 concurrent users are allowed**. I am using ...
Yash Lathiya's user avatar
0 votes
1 answer
37 views

Adding a RequiredFieldValidator causes the 'jquery' is not a valid script name. The name must end in '.js' error

I have a problem inside an asp net application where I get the 'jquery' is not a valid script name. The name must end in '.js' error when I try to add an asp:RequiredFieldValidator element inside an ...
Lorenzo Santarelli's user avatar
0 votes
2 answers
53 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" ...
Hamed Javadi's user avatar
0 votes
1 answer
72 views

FileContentResult return - 2 different controller methods, different result

I am using ASP.NET Core and ClosedXML to generate an Excel export. Export Method 1 Here is the controller method that DOES return an .xlsx file to the browser. The method gets called from a .cshtml ...
Ryan's user avatar
  • 672
1 vote
1 answer
39 views

How to prevent a clear data upon clicking new add address using button in ASP.Net Core

@model Registration @{ ViewData["Title"] = "Register Page - Step Two"; } <button type="button" class="btn btn-primary" onclick="addAddress()"&...
Erck's user avatar
  • 33
0 votes
0 answers
16 views

How to transfer method to Next in JQUERY Form

This is my script, I want to send a method to next Button in step form when user want to go from form 3 to form 4: (function ($) { "use strict" var form = $("#step-form-...
Maryam12 forex's user avatar
0 votes
0 answers
46 views

Why is the selected value not retained?

I have an MVC application where a user can add and delete to their schedule. Each time they do, it refreshes so the previously selected dropdown goes back to the first option. How do I get it to ...
littlelion111's user avatar
-1 votes
2 answers
41 views

JQuery .append(): Add <strong> inside <p>

I'm trying to render this dynamically using jQuery .append() : <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" ...
GH DevOps's user avatar
  • 365
0 votes
0 answers
26 views

dynamic colspan mix object with string, numbers, date string in c# javascript

The issue is in Bottom and Top performance columns are dynamic, I need to set colspan by dynamic no of columns, i select 1 to no of months of period (mm-yyyy) in 2023 or other year. abc to region ...
Kishor Admane's user avatar
0 votes
1 answer
27 views

jQuery - Remove hidden attribute not working

This is my .NET Core code of the view. When Red is selected, the FruitDate field should show up. When All is selected, the FruitDate has to be cleared and hidden. <div class="form-group"&...
TheFallenOne's user avatar
  • 1,656

15 30 50 per page
1
2 3 4 5
1197