Questions tagged as 'asp.net-mvc-5'

1
answer

How to modify background image of a web app after having done deployment?

I did the deployment of a web app, and I realized that the background image that I put in the body makes it difficult to read the content, so I want to change it, and try to do the publish and rebuild again but it has not worked that way. <...
asked by 23.08.2018 / 16:05
1
answer

error when returning a generic list linq

I have the following problem, when returning a list generated in a method for a viewbag it throws an error to me at the moment of the return, I put the image to them so that they see where the error throws me public List<Card> GetCar...
asked by 16.04.2018 / 17:03
1
answer

Get value of a partialview in the parent view

Actually, I have two questions to ask you related to the partialview. First, I will comment on how I show the partialview Question One Add.cshtml @Html.EditorFor(x => x.Suma) <div class="modal fade" id="exampleModal" tabind...
asked by 16.04.2018 / 17:28
1
answer

How to delete a cookie correctly when logging?

I have a series of cookies and sessions which are created at the time of login in a successful way in an application. My question is how can I eliminate these cookies and session created at the time of logout? I ha...
asked by 14.06.2018 / 23:01
2
answers

ASP.NET MVC - Models

I'm working with the MVC design pattern, I have a three-layer architecture, is it necessary to put the models in the Models folder ?, can the models go in another project?     
asked by 18.01.2017 / 04:49
4
answers

remove label input / with AJAX

I have several inputs that I charge with a foreach with Razor. <table class="table"> @foreach (var item in Model.Municipalities) { <tr> <td>...
asked by 14.06.2016 / 17:06
1
answer

How to get the value of an Html.DropDownList to pass its value as a parameter to a partial view in MVC asp.net

I have the following dropdownlist, which shows the values 5,10 and 15: <% Dim listItems = New List(Of ListItem) From { _ New ListItem() With { _ .Text = "5", _ .Value = 5 _ }, _ New ListIt...
asked by 15.05.2016 / 02:47
2
answers

ASP.NET MVC5 How can I create a CRUD for the AspNetUsers table

How can I create a CRUD for the AspNetUsers table, creating a MVC 5 controller with views using Entity Framework This is the structure of the table: AspNetUsers This is the Model: IdentityModels namespace Portal.Models { publi...
asked by 04.05.2016 / 02:03
1
answer

Help - I can not send object of the view towards the controller arrive null attributes

I have a problem I try to send an object in javascript to my controller, the problem is that the controller receives as a list attribute and this list contains another list as an attribute. I think the problem is that I do not send or do n...
asked by 25.10.2018 / 18:58
1
answer

How to change the language of all asp.net mvc error messages from English to Spanish?

Changing the user registration form that asp.net mvc5 brings by default, I noticed that the error messages that it sent came in English: These errors are shown in the Validation Summary ( ValidationSummary ) When searching online for the o...
asked by 15.07.2017 / 18:59