Skip to main content

All Questions

Tagged with
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
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
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
-4 votes
1 answer
32 views

Recorder Screen in .net [closed]

I have website exemption system i want when user open website record session and save video to wwwroot and when finish session end video i want in JavaScript or c# project : asp mvc core when finish ...
Moheman Aldulimy's user avatar
0 votes
0 answers
67 views

When i load my PartialView html using jquery, an controller that i didn't call is called with 0 value id parameter

I have this View Edit.cshtml @model ProdutoViewModel @{ Layout = "_Layout"; } <nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb" class="...
Samuel Oliveira's user avatar
0 votes
1 answer
28 views

ASP.NET Core MVC validations not being displayed on view for child entities

I'm experiencing the issue while displaying errors in my view for child element. I've got 2 entities Restaurant and Menu with their respective relationships described as below: public class Restaurant ...
newnick988888's user avatar
0 votes
1 answer
46 views

ASP.NET Core - Change Url of Product Details when select Color

I am working on E-commerce Laptop. I want when the user chooses another color in the select drop-down, it will redirect to the product of that color. I am using JavaScript to redirect the URL, here ...
John's user avatar
  • 63
-1 votes
1 answer
47 views

How to make a dropdown value is selected during the page load based on the values fetched from DB in .net core?

I have fixed dropdown values in the .cshtml file. `** Yes No Ask Me` like this.. I'm saving these values into the DB and during the page load I'm fetching the values and assigning into the ...
Ezhil's user avatar
  • 1
0 votes
0 answers
77 views

Why are my parameters always passed as null to my OnPost method?

I've got a simple function that receives a string representing the binary data of a PDF file, a filename string and an integer employee ID. This is the function: public JsonResult ...
Legion's user avatar
  • 3,378
0 votes
1 answer
73 views

Disable Login details from being autofilled into input fields .Net Core Identity

When I want to create an account I don't want any fields being populated by chrome passwords as I have a hidden field that appears if a certain option is selected from a select. The field is shown, ...
KevBarri's user avatar
  • 115
0 votes
1 answer
79 views

when change checkbox from Yes to No not sent value correctly to submit function when click approve button?

I work on asp.net MVC application I face issue when change check box (Yes to No) OR (No to Yes) not detect value true or false correctly . I have two check box Yes represent true value No represent ...
ahmed abdelaziz's user avatar
0 votes
2 answers
395 views

Why does FormData cause 400 bad request?

UPDATE 3: //program.cs using Microsoft.EntityFrameworkCore; using Zeel.Onboarding.DataModels; using Zeel.Onboarding.Models; var builder = WebApplication.CreateBuilder(args); // Add services to the ...
djack109's user avatar
  • 1,349
1 vote
2 answers
62 views

Why doesn't any jQuery code and some icons work after loading the partial view in ASP.NET Core?

I have a page with a list of information, and I can search this information using a series of fields and Ajax. I can reload the information on the page by loading it as a partial view. However, after ...
Amir's user avatar
  • 11
-1 votes
3 answers
303 views

How to add form validation to a modal in ASP.NET MVC?

I need to create a form in a modal which has a required field. The user must only be allowed to submit the form once the required field is filled and if it is empty an error message must be displayed. ...
Dilshan Prasad's user avatar

15 30 50 per page
1
2 3 4 5
24