Questions tagged as 'asp.net-mvc-5'

0
answers

Site integration with Excel worksheet

Hello, I would like to know if you can use an excel spreadsheet already configured with formulas and records as a "database" for a website. The intention is for the person to access the page, enter the data and send it to that worksheet. With...
asked by 08.09.2018 / 04:37
0
answers

_Layout.cshtml does not load on all pages

I'm doing a small application in Asp.Net MVC 5 with AdminLTE. I've assembled my layout and applied it on every page @{ Layout = "~/Views/Shared/_Layout.cshtml"; } However, it does not load on all pages Index: NewDoctor: Edit:...
asked by 08.09.2018 / 16:52
0
answers

Call PROC MVC to display the list of users who can not register

Attempting to call PROC sp_UsuariosVariasTentativasCadastro_Result , which brings up a list according to the form data. But nothing is happening. Can someone help me ?    NOTE: I created all these "layers" but I do not know if they have...
asked by 31.08.2018 / 19:45
0
answers

Does not delete list and SQL database record

I would like you to exclude the desired record not only from the list but from the bank too, how can I proceed? It is going with the id "0" instead of getting the id of the record I want to delete. Thisismylist...  //NA CONTROLLER... [H...
asked by 27.08.2018 / 17:11
1
answer

How to load fields from the viewmodel dynamically in asp.net core mvc

I have a 1: N relationship between the Person and Contacts classes. In my view edit, I get a viewmodel containing a list of contacts. In my View, I made a for which you should scroll through the contact list and load a contact row dynamically. T...
asked by 30.08.2018 / 00:11
0
answers

Initial character pagination ASP.NET MVC 5

I would like to know if there is a way (some helper ) to perform paging of records by initial character. For example, I have a list of people and would like the user to be able to page by the initial character. Something like @Htm...
asked by 08.08.2018 / 18:39
1
answer

Pull ServiceName attribute from another class in the Agenda view using the foreign key ServiceID with Razor Asp.Net mvc

I have a Index view that lists the schedules. In this list the calendar attributes include a foreign key IDServico , however, the list only appears the IDServico index and needs to appear the Service Name . > The code that...
asked by 03.08.2018 / 21:10
1
answer

Change a JS Function to open two different Modal Bootstrap Windows - Asp.Net Core MVC

Currently, I have a Modal (modalGenerica) in my Index that generically opens the Create, Edit and Delete views. To open the Create and Edit views, there is no problem, since both open in a modal of the same "size", but that to open the view Dele...
asked by 15.07.2018 / 13:23
0
answers

Problems giving a RedirectToAction for view index and close window Modal Bootstrap - Asp.net Core MVC

I have a Create view that is opened as a modal view in my Index view. When I click on the "Save" button in the Create view, my controller sends the data to be saved and then close the modal and redirect it to the Index view. If the data is incon...
asked by 12.07.2018 / 02:37
0
answers

Change Authorization ASP.NET MVC 5 redirect page and return to returnUrl

I created an ActionResult Access denied controller an error box is generated whenever the user does not have permission, and I have also created the UserPermission class that I will use instead of Authorize > . My problem is tha...
asked by 20.07.2018 / 13:51