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

0
answers

Phone Array Update in Database

I'm trying to update information in my database where I have 1:N between Clientes and Telefones , but I'm not able to perform such an update because sometimes it will be necessary to remove a phone that is in the database , s...
asked by 26.09.2018 / 20:08
1
answer

Redirect to login screen constantly ASP.NET MVC

Constantly while browsing the site the user is being redirected to the login screen. I myself navigate several screens by clicking the menus and randomly the system goes to the login. I already set the timeout of the session with a fairly high t...
asked by 23.09.2018 / 22:40
0
answers

Two ViewModels in a View

I have a problem, let's explain: I have a page called Index where I render all clientes of my database in a table, in that table there is an delete button that opens a Modal de Confirmação that creates a Form with...
asked by 25.09.2018 / 15:16
0
answers

How to configure Checkboxes Materialize Css in Web application Asp.Net MVC

How do I configure Checkboxes in Asp.Net MVC Razor Since in the documentation we have the following configuration Materialize for checkboxes <p> <label> <input type="checkbox" /> <span>Red</span> &l...
asked by 24.09.2018 / 23:53
0
answers

Problems removing items from a ListViewModel when the row is removed using JavaScript

I have a contact list that is loaded dynamically using razor and Javascript to remove the rows and reorder the positions of the fields. The problem occurs when I click the delete record button and delete all the contacts (I send an ajax request...
asked by 19.09.2018 / 01:57
1
answer

Name property does not work using Razor HiddenFor

I am creating several fields dynamically using Asp.net Razor and for this I am passing the index to a partial view and setting the name property of each field. Everything is working fine with all fields except Id and PersonId which are built usi...
asked by 18.09.2018 / 02:36
1
answer

X.PagedList.Mvc with Core and Bootstrap 4.0

How to use X.PagedList.Mvc with Core and Bootstrap 4.0 , and thus create a full automatic page.     
asked by 24.09.2018 / 19:47
1
answer

Accessibility inconsistent: parameter type "value" is less accessible than the "value" method

   Inconsistent accessibility: parameter type "IClientManager" is less accessible than the "ClientController.ClientController (IclientManager, UserManager)" method Controller: public class ClientController : Controller { private readon...
asked by 18.09.2018 / 18:47
1
answer

Implicitly can not be converted

I'm getting the following error:    Can not convert from "TClient" to "EasySystem.Models.ApplicationClient" public class ClientManager<TClient> { private ApplicationDbContext _context; public ClientManager(ApplicationDbCont...
asked by 14.09.2018 / 14:54
0
answers

Setting up and navigating homescreen for iphone with views made in ASP.NET MVC

I created the safari shortcut for a site, but when I navigate within that site my shortcut closes and opens the safari normally. I would like navigation within the shortcut (homesreen) to be only on the homescreen. Can anyone help? I use asp.net...
asked by 31.08.2018 / 05:16