Questions tagged as 'mvc'

0
answers

Undocking Controller GUI

Hello. Consider: a Visio object - GUI (Graphical User Interface); a Controller object, which handles system events, GUI actions, and model objects Consider that a Vision object receives a Controller object as a parameter: Contro...
asked by 23.11.2018 / 20:44
0
answers

Spring MVC I Error in JPA EntityManager

Hello, the code below is giving error: import javax.persistence.EntityManagerFactory; import org.springframework.context.annotation.Bean; import org.springframework.jdbc.datasource.DriverManagerDataSource; import org.springframework.orm.jpa.Jp...
asked by 18.11.2018 / 03:02
0
answers

Printing on client side with C # MVC automatically

I need to automatically print a PDF file that is in a folder on the server, but the print has to be on a specific printer on the CLIENT side. if (!String.IsNullOrEmpty(caminho)) { string impressoraPadraoOriginal = new System.Drawing.Pri...
asked by 13.11.2018 / 17:38
0
answers

Validate fields on the Modal Bootstrap 4 screen with Asp.Net MVC

Hello, I am doing a CRUD in an Asp.Net MVC 5 application using modal screens bootstrap 4. My template class has required fields using data annotation. But when one of the required fields is not informed, I can not display the review on the mo...
asked by 05.11.2018 / 01:18
0
answers

I can not pass parameters from view to controller in MVC using URL

I'm doing an MVC project and am not able to pass the Search window parameter to the Controller that is reaching View . I'm going to go through both classes, if you need more information I see editing here: OfficeListing.cshtml @model...
asked by 31.10.2018 / 03:19
0
answers

PK and FK Conflict in SQL Server Database

I am facing a Primary Key and Foreign Key conflict problem in SQL Server 2017 Express. I am using ASP.NET with Entity Framework Code First (Migrations). The problem is that when I add a new Client that is a Person does not add. The Entity Framew...
asked by 29.10.2018 / 00:36
1
answer

Pass the id value from one view to another - Asp.Net MVC

I have the following view where I have a list of articles registered in the database, there I have the evaluate button that redirects to another view where it is in another controller, I want to pass id of the selected article to another control...
asked by 01.11.2018 / 03:14
0
answers

ASP.NET - How to send multiple files to the controler using AJAX and Formdata?

I have the following code: JAVASCRIPT: $(function () { $('form[enctype="multipart/form-data"]').submit(function (event) { event.preventDefault(); event.stopPropagation(); var formData = new FormData(); formData.append('Ob...
asked by 27.10.2018 / 20:47
1
answer

Input field selection with JQuery

Alright? Can you give me a help related to the selection of text entered by a user on a form? I have tried some solutions that I found here, but they did not work. I've also tried different approaches with pure Javascript, but I was not succe...
asked by 22.10.2018 / 00:24
0
answers

Vision layer is not updating

I want to get my user to check the Pause to change his status from Available to Rest. In the bank it arrows the status but in the Vision it continues as available even giving me refresh. I've tried countless ways but I can not. I realized tha...
asked by 06.10.2018 / 20:30