Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
48 views

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
  • 33
1 vote
1 answer
77 views

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
  • 13
0 votes
0 answers
25 views

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
0 votes
0 answers
42 views

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
0 votes
1 answer
51 views

.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
  • 745
0 votes
1 answer
63 views

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
1 vote
1 answer
215 views

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
0 votes
0 answers
47 views

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
  • 138
0 votes
1 answer
123 views

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
0 votes
0 answers
54 views

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
0 votes
0 answers
46 views

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
0 votes
0 answers
42 views

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
0 votes
1 answer
44 views

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
-1 votes
2 answers
1k views

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,390
4 votes
1 answer
3k views

I am beginner for asp.net core. I am building file conversion website. PNG to JPG, PDF to Word etc.. In there I amusing fileuplaod control to upload content for the conversation. Instead using same ...
Prageeth Liyanage's user avatar
0 votes
1 answer
502 views

My application is running on MVC 5 . Recently I upgraded the Npgsql nuget package version and after that started getting below error in the application. **Error :- ** HttpServerUtility.Execute blocked ...
Ramesh Yadav's user avatar
0 votes
1 answer
66 views

I wrote this code to integrate the editor: <script src="https://cdn.ckeditor.com/ckeditor5/18.0.0/inline/ckeditor.js"></script> <div class="col-sm-12" id="...
Ruman Ali's user avatar
0 votes
1 answer
90 views

I am trying to send an Event id (Model name is event) from my event view to a partial view in which you could comment on that related event (which is encuptulated by that view and rendered via ajax) ...
Furkan Koç's user avatar
0 votes
2 answers
2k views

I am using asp.net core to loop over the list of model objects and in each iteration, I am calling a modal to open with anchor tag. The code is given below. foreach (var job in Model) { <div ...
za_ali33's user avatar
  • 466
1 vote
1 answer
2k views

Here is what I have tried The code runs perfectly until I try to implement it in my ÄdminPortal MVC Area, then the Partial View doesn't popup at all. I'm sure I've missed something simply but being ...
ajm1949's user avatar
  • 11
0 votes
1 answer
126 views

I am experiencing with the C#/.Net world using Azure Blobs. I made a Gallery that takes the images from an Azure Blob Storage, and displays it on the screen. I want to create a Partial View from it, ...
AchilleScript's user avatar
0 votes
1 answer
70 views

I have two models Employee and Department, i am trying to bind a Select List with Department model in Employee Create PartialView using ViewBag: public class Employee { [Key] ...
user4374239's user avatar
0 votes
1 answer
1k views

I am working on an ASP.NET Core MVC application and i want to make CRUD operations using Modal popup. I used this code to display the Edit partial popup: Index.cshtml: @model IEnumerable<...
user4374239's user avatar
0 votes
0 answers
183 views

Im having issues when placing html content from partial view into modal content via ajax, not all events defined in _layout.cshtml are being attached to elements in modal content. Setup: _Layout....
sage reddy's user avatar
0 votes
0 answers
306 views

I am doing an ASP.NET Core 6 MVC app and I have a partial view calling an API controller. In My controller I have defined a Route like this [Route("api/[controller]")] [ApiController] ...
Diego's user avatar
  • 2,390
0 votes
2 answers
85 views

I have a partial view which does not have any parameters passed to it and is called by multiple apps. I however want to change the requirements and pass a nullable int to it and a null checker, but it ...
Adesuwa's user avatar
  • 27
1 vote
1 answer
224 views

I am trying to display a partial view inside a button popover. cshtml: <button type="button" class="btn btn-secondary" data-container="body" data-toggle="...
TerribleDog's user avatar
  • 1,247
0 votes
2 answers
396 views

I want to delete the record from the table with modal but the partial view is not displayed in modal ... How can I solve this problem !? And that I can not use onClick !!! this action for delete in ...
ghasem deh's user avatar
2 votes
2 answers
7k views

I am loading server response in a datatable using js in a asp.net core razor page. Because the data/UI is complex, I need to render different layouts based on current value in each table cell. ...
Alin's user avatar
  • 14.6k
0 votes
1 answer
599 views

Basic site from the create project wizard, I added the Identity scaffold like I have done in the past. Added the partial to include the _LoginPartial on my template nav bar. However, the links don't ...
Zippy's user avatar
  • 485
-1 votes
1 answer
498 views

I have a very complex structure for my .Net 5 core mvc application. I am trying to use jquery to call controller method. I could send the json model to the controller. The controller action method is ...
K Kumar's user avatar
  • 11
1 vote
1 answer
150 views

This is my main view named _ShowSingleProduct.cshtml: <div class="col-md-7"> <!-- Review--> <div class="product-review pb-4 mb-4 border-bottom&...
Hossein's user avatar
  • 172
1 vote
1 answer
2k views

I have this method inside my controller that calls this partial view: return PartialView("_tinzProdListPageTemplate", tblStoreLocation); That partial view is inside the Shared folder and ...
CodeQuest's user avatar
  • 123
0 votes
1 answer
4k views

I am thinking about a scenario rather similar to this question asked some time ago: How to call another controller Action From a controller in Mvc In the scenario I am thinking of, controller B would ...
CJS's user avatar
  • 88
0 votes
1 answer
712 views

I want to make a partial view for form fields, so I don't have to write ~10 lines of boilerplate code everytime. I tried the following: FieldViewModel.cs using Microsoft.AspNetCore.Mvc.ViewFeatures; ...
DimChtz's user avatar
  • 4,413
0 votes
0 answers
159 views

Here is the code I used to do it in Visual Studio 2019 $.ajax({ type: "POST", url: url, data: { code: "ABC" }, success: function (response) { $('.content-...
user1396423's user avatar
3 votes
1 answer
751 views

I'm working on an app where I have an Ajax call to a Controller like so: $.ajax({ url: '@Url.Action("Test", "Test")', async: true, type: 'POST',...
Shrimp1986's user avatar
0 votes
0 answers
177 views

In my Angular 11 application it would be especially nice to have partial HTML-only templates that a component can bind to for data grids and a few other purposes. I don't believe Angular supports ...
GotRakija's user avatar
0 votes
1 answer
746 views

Using asp.net-core I made a "PopUp.cshtml" file: <div class="popUpDeleteBackground" hidden> <div class="popUpDelete"> <h3>Are you sure you ...
Samball's user avatar
  • 879
0 votes
1 answer
352 views

I have a partial list view inside a main view. The partial view is rendered in a foreach statement in the main view. I want to present the partial view result one display at a time, at the click of a ...
hopeforall's user avatar
0 votes
1 answer
178 views

In my ASP.NET MVC application in the view, I'm calling another view that is not related to the current model. There I need some help that how to call the different model views from another view. @...
smc develpments's user avatar
0 votes
1 answer
237 views

I have view with search bar and displaying table based on that search. So starting view looks like this: I am displaying partial view in <div id="ajaxPartialView"></div> So ...
Notch's user avatar
  • 47
3 votes
2 answers
2k views

I am having a problem setting the 'Search Path' for my Partial Pages (Views) in my .NET Core 3.1 app. When I place the _SomePartialPagePartial.cshtml in the default search path directories (/Pages/...
MicJarek's user avatar
0 votes
1 answer
1k views

I want to generate a MVC partial view with a Bootstrap 5 accordion. Here is the code: Index.cshtml @{ ViewData["Title"] = "Home Page"; } <input type=&...
acan's user avatar
  • 66
0 votes
1 answer
1k views

I use the Modal display field in the Partial View to input data for the User, and use [email protected]("Create") in the main screen to call Modal. And wrote Autocomplete JavaScript in ...
Miles's user avatar
  • 17
0 votes
1 answer
176 views

I have order with several order items and I use partial view to load order items. I want to validate OrderLineItemEntity's ProductCode but it does not work. Every other property validation works which ...
Izzy's user avatar
  • 1
0 votes
0 answers
97 views

<!-- Product Details.cshtml --> @model Test.Web.Models.Product @{ ViewData["Title"] = "Details"; } <br /> <h2 class="text-info">Product details</...
NKl's user avatar
  • 83
0 votes
1 answer
1k views

I have modal popup containing partial view. this partial view is nothing but form. I have to update/refresh same modal popup with new partial view after Form submit, instead it reloads main page (...
SSD's user avatar
  • 1,293
0 votes
1 answer
75 views

I have created a page that loads a partial view into a bootstrap modal (using jquery) when a link/button is clicked. However, doing this causes some undesired behavior that I need to fix. The page is ...
Abol_Fa's user avatar
  • 122
-1 votes
1 answer
233 views

In my create view in asp.net MVC, I have created more than 5 partial views and the views show and hiding according to the selected value from the combo box. So as an example, If the user selects the ...
smc develpments's user avatar

1
2 3 4 5
19