Questions tagged as 'asp.net-mvc'

0
answers

error start with application C # mvc 4

I have an application created with the MVC 4 template with Visual Studio 2012, which after creating it, gives me the following error Server error in the application '/'. Access denied. Description: Error accessing the resources needed to com...
asked by 09.11.2018 / 16:38
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
0
answers

how to consume web api by mvc in a synchronic way?

I need to consume a web api through an mvc project synchronously, however most of the examples are asynchronous, I have the following code: [HttpGet] public async Task<ActionResult> Buscar(int? id) { //Get...
asked by 24.10.2018 / 21:20
0
answers

Function JavaScript does not work after the second call (and subsequent)

I have a very strange problem. I am developing a functionality in C # with MVC 3. When clicking on a tab, the controller returns a partial view and in turn this view calls a javascript file that draws a graph. The first time the system is seen,...
asked by 19.10.2018 / 17:26
2
answers

From HTML to PDF in MVC 5 ASP.NET

Boys I have a view like this that is supposed to be an invoice for clients, it already prints but I need the user to download a pdf and that has been impossible probe on the client side with several js libraries like jsPDF, but this option...
asked by 19.10.2018 / 00:03
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
0
answers

Load and filter a table in html, MVC, ASP using recursive linq?

I'm doing a table using HTML in ASP.NET MVC. I am uploading the information on the company's income statement, and there are quite a few records, and when loading the table it takes a long time, as well as wanting to filter information, as it re...
asked by 14.10.2018 / 09:20
0
answers

ASP.NET connection error MVC5 with Mysq

What happens is that I have a HTML Template called that has already the configuration to apply it with ASP.NET, but it comes by default to do the local express test of SQL SERVER, but I want to use it with MySQL, so download of NUGET the Entity...
asked by 11.10.2018 / 04:58
1
answer

Create buttons for a form (two values, yes, no)

I have this form, that I want that at the moment of being filled out I see only two options to read, something like a switch, yes or no; using bootstrap. <form> <div class="editor-label"> @Html.LabelFor(model => model...
asked by 01.10.2018 / 21:32
0
answers

How to avoid using the var data type in Asp .Net MVC5?

I have the following question and I want to know if you can help me clarify that doubt, it turns out that today ASP ASP.NET MVC5 is very much used variable type var which is a variable that adapts to the type of more convenient data, but...
asked by 01.10.2018 / 17:40