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

0
answers

Render input file "PDF" in Internet Explorer with ASP.NET MVC 5

I'm trying to show a preview of files (.pdf). Currently I select the files with the tag "input file multiple" and I generate a list of the names of the selected files, now I would like to add a link that when I click on it open me in a modal win...
asked by 16.04.2018 / 23:13
0
answers

Fill DropDownList with data obtained from a different controller with MVC

I'm starting in this MVC , I had already done a few things in C# , VB.Net and well I still qualify as a rookie just 3 weeks with the MVC . Well, my question is this, I am currently developing a website with MVC where I have two...
asked by 13.04.2018 / 18:02
1
answer

Join two models in asp.net mvc 5 c # - N CAPAS

I have two models: public class TipoSolicitudesDTO { [Key] public int TipoSolicitudID { get; set; } public string NombreTipoSolicitud { get; set; } public int EstadoTipoSolicitud { get; set; } } public class Solicitudes...
asked by 09.04.2018 / 23:21
1
answer

Receive data in MVC 5 controller

I have the following problem I am trying to send some data from ajax to my mvc driver but it did not manage to recover them this is my code: var Url = '@Url.Action("Save", "InspectionDailies")'; var user = 0; function getval(sel) {...
asked by 06.04.2018 / 01:13
1
answer

Update ApplicationUser data

I have problems with the following method. public async Task<string> EditUsuario( string id, string userName, string email, string phoneNumber, int accessFailedCount,...
asked by 02.04.2018 / 19:38
3
answers

How can I make a Vista pass a ListModels to a controller? One of the fields of the Model is loaded by the user in the view

I have a view that corresponds to a survey. It is loaded with the questions and at the same time in the last column has a DropDowList with the possible answers. The problem I have is that I can not get my controller to receive the data of the qu...
asked by 13.03.2018 / 14:49
0
answers

How to obtain data from a user when logged in (asp.net MVC 5)

What I want to do is basically Login and show the user the information related to something like a Dashboard. for example, when you start a session in stackoverflow, it shows you the questions you have asked ... the same thing I want to do in...
asked by 27.03.2018 / 01:30
0
answers

I have problems when saving a .NET record using MVC

I am creating a program that keeps track of vehicles but at the moment of entering its properties and I give it in "Create" I get the following error I do not know what that error is, if someone can perfect @model WebCar.Models.Vehicu...
asked by 26.03.2018 / 02:15
1
answer

Create URL with .NET MVC Resource Files?

Basically in my RouteConfig.cs I am trying to map a route that varies depending on the current browser language. What I'm trying to get to is a dynamic path like: /books-with-description/ /libros-con-descripcion/ these strings are const...
asked by 23.02.2018 / 15:55
1
answer

Is there any way to match these JQuery values in C # MVC?

I have a view in MVC which when clicking on a button I must return to a previous view, obtaining the values of method, controller and form to which I will redirect, I already get the values but I do not know how to assign them in the @Url .Actio...
asked by 20.02.2018 / 23:50