Questions tagged as 'asp.net-mvc'

2
answers

upload a file with ajax in mvc

Very good everyone, I wanted to know if they could help me with a problem, I'm trying to upload a file from Ajax to send to a controller. The error I have is that it does not let me load large files in Ajax, it sends me to the Ajax error. The pr...
asked by 03.07.2017 / 17:54
1
answer

Fill cascading combos in MVC

In a view I have 4 combos. The first 3 I fill them without problems with data of tables of a BD. But the 4th one I need to fill it with information from another table, which I should filter depending on the selected in the 3 previous combos....
asked by 17.05.2017 / 15:27
1
answer

How to get the current user name to send it to a PermitAttribute as Parameter

I have a PermisoAttribute class that is inherited from an ActionFilterAttribute, which I show below. public class PermisoAttribute : ActionFilterAttribute { public string username { get; set; } public int Progra...
asked by 28.03.2017 / 23:31
2
answers

Open an Excel file from a server

I have the following problem: I have a button in which I open an excel file, with Process.Start("ruta"); I put the path of the server \server\etc\etc , and it works in my localhost, but when uploading the web app to the server (t...
asked by 04.03.2017 / 03:04
1
answer

need to specify url in @ html.beginform when using $ .ajax?

I have an application in MVC ASP.NET and I have created a form with eight fields based on a model, my question is this: If I want to use jQuery-AJAX-JSON in the click event of my submit button to send my model to the controller, it means then...
asked by 02.04.2017 / 16:55
1
answer

Configure connectionString using EF Database First

I am working with ASP NET MVC5 and I have a mini project that I want to publish in the hosting service that offers link the problem is that when I publish the pagina launches the following exception when I try to log in and therefore access th...
asked by 05.12.2016 / 03:37
1
answer

Tinymce and ASP.NET (c #) Webmatrix

Good, I have a situation, I enter data to my DB sql by means of a textarea with tinymce, in the database something like this is saved: <div class="f kv _SWb" style="color: #808080; height: 17px; line-height: 16px; font-family: arial, sans-s...
asked by 04.10.2016 / 22:02
1
answer

Group in reportviewer and numbering

I have two drawbacks. The first one is like grouping some rows in my report. This is the report design And this is the result when I generate the report. Here I need to make a way for the two rows that are repeated to group the...
asked by 21.09.2016 / 00:14
1
answer

I can not connect to MySql with Visual Studio 2013 to work on Asp.net MVC 4 web and in E.F

I want to connect to a database with entity framework to a database with MySql yog Ultimate, but it does not work for me. Start by adding the dlls: And I even add the following to the webconfig:         But it does not show the MyS...
asked by 17.08.2016 / 15:26
1
answer

HTTP 404.No found in [HTTPPOST] of the driver

Good morning I'm starting on asp.net and I'm having a problem that I can not find the solution for, because I do not understand why it works exactly. What happens is that when you send a form to the controller, the actionResult receives an...
asked by 09.08.2016 / 17:14