Questions tagged as 'partialview'

1
answer

What is the scope of the variables in a page with ASP.NET MVC?

I have a view layout : <div> <h1>Pagina Principal<h1> </div> <div> <h3>Simular<h3> </div> <div class="row"> @{Html.RenderPartial("Partials/Teste/Simular", new SimularViewModel(...
asked by 16.11.2018 / 17:35
2
answers

how to work with PartialView

I have the People Registry, and I have the Address Book, which are in two separate classes, because the goal is that the user can have 2 or more addresses, such as delivery, and billing. So I wanted to know how to use PartialView. in the case I...
asked by 17.11.2016 / 12:07
1
answer

PartialView not loading in select2 pattern

I have a problem when I call my PartialView, it loads all the data in the View but not in the select2 format, in case it would be when clicking on the input the data appears, it is currently loading all on the screen. ExofaViewthatIuseandloa...
asked by 17.04.2018 / 16:40
1
answer

How to add data using BeginCollection and PartialViews

I was able to do the system with data insertion with BeginCollection and PartialViews as seen in this question . By continuing the same, how would you edit the data entered in the database? Example: I signed a collection point with two types...
asked by 08.05.2017 / 17:32
0
answers

Partial with Javascript

If I create a Partial like this below "given as an example": <script> //Codigos C# Meus documentos.. //Codigos Javascript... </script> ... and within this partial contain c # code, this partial along with c # a...
asked by 08.05.2018 / 20:01
1
answer

Is it possible to have a 'Partialview' in WPF?

I wanted to know if it's possible to implement the concept of partialview in a WPF View. Something like a flap system, which changes the content of the grid but does not change the layout of the view. I just need to know how to make the contents...
asked by 18.07.2018 / 16:37
2
answers

Partial View does not load Javascript - Asp.Net MVC

I'm moving to a Partial View through a two parameter controller, music and artist. Now in the PV I pass to the function fetchLetra () that is in the file letterIj.js these parameters for the return of the function, however, this is not happening...
asked by 18.11.2016 / 17:19
1
answer

How to send the PartialView input to a controller?

I tried to find something that would get me this doubt, but there is nothing concrete for what I want. I'm using Visual Studio 2015 and MVC 5 and Razor in my project. I have a form (Create) with a submit in a partial view and I have this p...
asked by 15.12.2016 / 11:35
1
answer

Load from within the partialview js / css

Good morning, insira o código aqui I can not load .js / .css when loading partialview no layout <!DOCTYPE html> <html> <head> ... @RenderSection("header", required: false) </head> <body>...
asked by 04.11.2018 / 15:33
0
answers

Retrieve values from Partial View to View Parent

I'm developing a screen in AspNet Mvc where I have an index screen that has a model called ParameterizationVM and on that screen I have a partialView that displays the units (which is a List<Unidades> that is contained in the parame...
asked by 09.08.2018 / 16:04