Questions tagged as 'asp.net-mvc'

1
answer

Asynchronous method blocking Queue

I'm using MVC and then I've addressed asynchronous methods for Actions in Controllers in order not to block access to other pages of the site while a long-running process is taking place. However, I have had problems in the following s...
asked by 06.05.2017 / 05:32
1
answer

How to create a webgrid with dynamic columns?

I saw several examples using WebGrid but all with the number of fixed columns. My data source will return a dynamic list, that is, sometimes it returns 5 columns and then it can return 6 colunass, how to do?     
asked by 09.05.2017 / 20:56
2
answers

Error in Update with EntityFramework

When I try to update an object in the database, I get the error,    Store update, insert, or delete statement   number of rows (0). Entities may have been modified or deleted since   groups were loaded. See    link for information on   under...
asked by 10.05.2017 / 02:28
1
answer

The contents of the variable are not displayed in View

Instead of displaying the value of item.Endereco in the WebGrid what is displayed is a text @ item.Endereco.Length > 0? item.Endereco.Substring (0, item.Endereco.Length - 3): item.Endereco . Home In my current scenario I have to do...
asked by 13.06.2017 / 23:36
1
answer

Validation of the repeated record

I have a class named Matricula . It receives the register of Aluno and Serie . I need to do a validation, where if the student is already enrolled in a registered series, the page displays a message stating that the student...
asked by 13.06.2017 / 14:28
1
answer

Two databases communicate with the same model [closed]

I wanted to have one database for production and another for development to separate the actual data from the test environment data. The problem is that I have no idea how to do this. I created a clone of my development database with the "Schema...
asked by 27.04.2017 / 12:01
1
answer

Kendo UI Scheduler [closed]

Implemented the Kendo UI Scheduler template (calendar / calendar) in my ASP.NET MVC project, but I'm having problems with the pop-ups. For example: The popup does not close itself when you click on "save", for example. Or when I click on the "X"...
asked by 16.05.2017 / 16:06
2
answers

Access biometric reader on client side - ASP.NET MVC - WEBFORMS

Galera, I developed an ASP.NET MVC application, using a webforms page, in which it is called inside an MVC page. Because only from it I was able to load the DLLs of the SDK, to send requests to a biometric reader, to capture and to authentica...
asked by 15.05.2017 / 01:32
1
answer

Loss of Collection of a View Model for the Controller [closed]

I passed an object that contains a collection with 2 objects from a controller to the view in a typed way. Now I would like the view to pass this same object to another controller . The call URL passes the Model as object but in the...
asked by 15.05.2017 / 21:26
1
answer

My controller can not find the view [closed]

I made a controller named Email . In ActionResult I give an Add View and create the view. When I right click on ActionResult and give Go to View , it says that it did not find the view, but if I right click on the Vie...
asked by 14.05.2017 / 22:28