Questions tagged as 'asp.net-mvc'

2
answers

Pagination with AngularJS and WebAPI

I need to make a pagination using AngularJS . Well, I made a controller to popular Table HTML . This is working now. My next step will be to page this table. I took an example on the internet, but the example the guy makes a for 1 to...
asked by 12.07.2016 / 18:57
2
answers

How to read a txt file sent by the user?

I'm learning ASP.NET MVC and I've created a simple form: <form> <div class="form-group"> <label for="municipio">Nome do Município:</label> <input type="text" class="form-control" id="municipio" pl...
asked by 22.03.2017 / 23:43
1
answer

Creating ForeignKey

Well, in my project I decided to use some Foreign Keys. And after you end up getting this error:    {"The INSERT statement conflicted with the FOREIGN KEY constraint \" FK_dbo.Setors_dbo.Areas_setorAreas \ ". The conflict occurred in database...
asked by 08.06.2016 / 18:43
1
answer

bring html code from the bank

I have the following doubt, I know I'm not doing it the right way, but I believe it will do me good. I'm trying to integrate my College project with Pagseguro, but I'm finding it complex regarding the use of the API, but I saw that in Pagseguro...
asked by 28.10.2016 / 05:35
1
answer

What is the best way to generate pdf files via webservice? [closed]

I have a Soap webservice and I came across the need to generate pdf documents. Has anyone worked with generating many documents via webservice and what technologies have they used? Which technologies have achieved better performance, workability...
asked by 05.05.2016 / 15:14
1
answer

Error publishing project C # MVC, could not load file or assembly 'System.Web.Http.WebHost

I have a C # project in MVC, which running in Visual Studio 2013, works, but when I upload to the server it gives this error:    Could not load file or assembly 'System.Web.Http.WebHost, Version = 4.0.0.0, Culture = neutral, PublicKeyToken =...
asked by 10.12.2015 / 14:54
1
answer

Frameworks for use of ASP.NET MVC masks

In case of fields with masks (CNPJ, for example) and / or date, which framework framework would be more recommended? Javascript or; jQuery or; Kendo or; AngularJs or; I do not know what else. I do not know if I was able to be ve...
asked by 26.12.2015 / 01:54
2
answers

Pass List for ActionResult

Briefly: I have a screen with a table populated by the list below, where I select the line through checkbox , I need to pass that list to my actionResult . As I do not have a form on this screen I can not give the data to p...
asked by 03.02.2017 / 20:01
1
answer

Why button type = submit is not submitting?

I'm creating a modal form, when I try to submit it, it does not submit. My VIEW: @model GerenciadorDeAtividades.Dominio.AtividadeDominio @{ Layout = null; ViewBag.Title = "Alterar Status da Atividade"; } <div class="modal-dialo...
asked by 24.06.2015 / 14:35
1
answer

Use two entities in the same View

I have a table, which returns the holiday records of each employee, and I need to create a page where the user can request the change of that period. However, the demand requires that the data be in the same "table". So, I need to do a foreach o...
asked by 30.01.2015 / 12:35