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

0
answers

Send a post from javascript

I have a Create view that has its Action result for the POST, but I want to call it from javascript. I want to pass the value of a textbox to the controller to be able to handle it and return the Create view again but now with a model already...
asked by 10.11.2018 / 22:12
2
answers

As I add a list in a relationship many to many entity MVC5

I try to add a list of subCategories from a book to a book the models: public partial class Libro : Entidad { public string Titulo { get; set; } public string Autor { get; set; } public string ISBN { get; set; }...
asked by 07.11.2018 / 21:05
1
answer

How to save the data of a tags?

I'm doing a practice, I can not find how to take the values and then send them by ajax to the controller, I'm working with C # MVC, I have these tags now what I want is to save those tags in a variable but not as; this is the rest     
asked by 06.11.2018 / 07:07
0
answers

How to fill fields in a form from an ASP MVC search [on hold]

I am making a modification to my development in asp mvc 5, previously I had to register a user manually enter the data User, Name, Surname etc .. and saved them in the BD, now they asked me to integrate the Active directory to search the user, I...
asked by 01.11.2018 / 20:18
1
answer

Receive an image by JSON

I have the following problem; I have a Rest service with ASP.Net MVC and I am currently receiving the image by base64 and it ends up giving me a km json to save, so I wanted to know how to receive the binary information (as much as possible I wo...
asked by 18.10.2018 / 02:23
1
answer

sending parameters from asp.net mvc to sql server

I need to send these parameters to Sql Server to be used in my stored procedure: (int[] DedudccionesId, DateTime FechaDesde, DateTime FechaHasta) //POST: Detalle Planilla Empleado [HttpPost] [ValidateAntiForgeryToken]...
asked by 23.10.2018 / 05:38
1
answer

Ask AJAX to BD when inserting data in INPUT - C #

I searched for information on the internet but I got a little confused, I have an input tag. <div class="form-group"> <label>Stock Number</label><br /> <input type="text" class="form-control" id="StockNumb...
asked by 11.10.2018 / 20:27
0
answers

Remove the list of people to show with the search engine

I need that I do not see the list of all the people when I enter the index view, but when I search the search engine I see the results. Thank you in advance. Controller public ActionResult Index(string option, string search) {...
asked by 04.10.2018 / 18:44
0
answers

Block or freeze columns or rows with GridView

In my web project I downloaded an xls file, which I generated through a GridView. The file opens correctly and shows the correct data. The code is as follows: private DataTable tableExcel; public ActionResult returnExcel(HttpResponseBase re...
asked by 03.10.2018 / 22:31
0
answers

How to update my edmx with new field in a table

I have a project in which I am using database first and working with POCO entities separating them into layers, I have a problem when adding a new field in a table in my database in sql server 2014, when I update model from the database the fiel...
asked by 27.09.2018 / 15:00