Skip to main content
0votes
1answer
21views

Having trouble using fetch API to load ASP.NET MVC partial view which includes Quill rich-text editors

I am trying to use fetch to load a partial view which includes several Quill containers. Using Fetch, the Quill editors are not rendered. There is no comparable problem using jQuery's load method. ...
Momenee's user avatar
1vote
1answer
62views

How to update partial view list in a "Create" view after submitting input in a ASP.NET core MVC web app to server?

I am new to ASP.NET core MVC web app. I have written an app that users can scan in their RFID card id. This task is done in a "Create" view. When they submit the input, the system will ...
CasperL's user avatar
0votes
0answers
20views

Input type file - filelist, is always empty in partial view that is inside a partial view

I was able to get the filelist when the element was in the view > partialview1. But i had to change the interface a little bit so, it got moved to, View > partialview1 > partialview2. After ...
mis.gg6144's user avatar
0votes
0answers
39views

Unable to Submit Partical View form to Controller

I am trying to submit a form to my MVC controller. The form is in a partial view and when I hit submit it returns with a 500 error at the path for the action and controller: "https://localhost:...
NerdyDriod's user avatar
0votes
0answers
55views

ASP.NET MVC alternative to partial view (I need to write JS/AJAX)

I'm new to ASP.NET and I'm developing a simple CRUD web. It consist of a Notes web where you can publish/edit/delete your own notes and see and like notes from other users. I have 2 views that share ...
apda's user avatar
0votes
1answer
44views

.Net Core MVC: how to get partial view name in razor

.Net Core MVC. In all my views and partial views, I use this line to get its path (url) <span>@(this.ViewContext.View as Microsoft.AspNetCore.Mvc.Razor.RazorView).Path;</span> (and also ...
patsy2k's user avatar
0votes
1answer
60views

PartialView does not work properly when called from Layout.cshtml

enter image description here - issue added as it stack overflow is not accepting the code i am trying to call a partial view(there is a button on the click of which i should be able to close a div ....
user3209091's user avatar
1vote
1answer
184views

Use a view in another one

I have an ASP.NET Core MVC application using Razor and Entity Framework, and I try to include a (child) view in another one (parent). A problem which I see is that they use different controllers. I ...
Gigi's user avatar
  • 330
0votes
0answers
45views

ASP.NET MVC 5 - Generate different forms based on selected DropDownList option

I want to generate (or display hidden maybe?) different type of form depending on the selected Option in a DropDownList. What would be the best way to do that? I have tried having in the base view ...
Nikola's user avatar
0votes
1answer
113views

IIS not displaying partial pages for ASP.NET Core MVC web application

I have an ASP.NET Core MVC web application that I'm trying to host in IIS (as a nested application). The problem is that when I run a page that has a partial view (a list object that displays a table),...
caitlin wardle's user avatar
0votes
0answers
52views

ASP.NET Core IIS is missing data

I've got an ASP.NET Core MVC web app that I'm running through IIS. The problem is that when I run it my partial pages/images and css files aren't being loaded correctly to the page. Example of ...
caitlin wardle's user avatar
0votes
0answers
41views

About ASP.NET Core 6 MVC web application

I need to add some CSS to the Register and Login buttons in [partial name="_LoginPartial"] tag in my ASP.NET Core 6 MVC web app project. How could I do that? I have tried to make them (...
chamali wedage's user avatar
0votes
0answers
41views

Partial View Model Error (.net Framework)

I have this model in my view: @model MGDanismanlik.Controllers.SettingsController.WorkCampClas I call this partial view bottom of the view: @Html.Partial("MonthlyResultPartial") This is ...
Mert Çakar's user avatar
0votes
1answer
34views

The partial view 'AllCars' was not found. The following locations were searched: /Views/Cars/AllCars.cshtml /Views/Shared/AllCars.cshtml

I have a problem when starting a project with the given code <h1>All cars</h1> <h3>@Model.currCategory</h3> <div class="row mt-5 mb-2"> @{ foreach (...
Andri45's user avatar
-1votes
2answers
1kviews

ASP.NET Core 6 MVC return partial view using Json

I am writing an ASP.NET Core 6 MVC application. I have a method in a controller that I need to retrieve a Json value like this a boolean and a Partial View with the model class return Json(new { ...
Diego's user avatar
  • 2,378

153050per page
close