Skip to main content

All Questions

Tagged with
0 votes
0 answers
37 views

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
37 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
44 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
34 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
70 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
15 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
26 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
3 votes
1 answer
72 views

Why should change the first letter of the property to lowercase when updating the project to .NET 8?

I used .NET 7.x (ASP.NET Core 7 MVC) and JavaScript Library v1.10.2 and use XHR in Ajax to get data from the controller as shown here. Send a request to get data like this: function ...
Davood's user avatar
  • 5,556
1 vote
2 answers
41 views

Cascading dropdown AJAX loop call

there is a part of my form in which a user can enter the building and room and click the add button if they want to enter another building and room. I am using AJAX to populate the rooms based on the ...
littlelion111's user avatar

15 30 50 per page
1
2 3 4 5
1197