Questions tagged as 'asp.net-mvc'

0
answers

Paging dataTable JSON - Parameter passing in a function

I have a table that should be paged. It is already receiving the JSON and populating the table, but in the fifth and sixth column I need to do treatments, the content of them will depend on certain condition. function buscarConteduoBtn(p...
asked by 16.06.2018 / 01:05
0
answers

I'm not getting paging on my Grid with Jquery

When I click on Next and Previous does not change page and remains only on the Index page, I already tested Jquery made an Alert and the two buttons are working, but it does not change the page and there are no errors in my application. public...
asked by 15.06.2018 / 00:01
0
answers

I'm not getting paging on my Grid with Jquery

When I click on Next and Previous does not change page and remains only on the Index page, I already tested Jquery made an Alert and the two buttons are working, but it does not change the page and there are no errors in my application. public...
asked by 15.06.2018 / 00:01
1
answer

Popular a View with Values in ASP.NET MVC Model

In the Index Method I can set values in the model and initialize my VIEW with pre-defined values. But when I do the POST to the START method, when I change the Aquedica property, the value is not being passed to the view, this actually happens w...
asked by 14.06.2018 / 15:21
0
answers

Problem with proxy and webservice C #

Error: Request failed with HTTP status 407: Proxy Authentication Required. Hello everyone! I made the generation of a C # class using the xsd file using the VS Developer Command I added it in my project. In my project, I am filling in the...
asked by 14.06.2018 / 16:54
0
answers

TXT file manipulation with MVC

I'm developing an MVC application, see below: RecordRep.text 000185000 | 3 | 13072016 | 2357 | 12942973988 000185001 | 3 | 14072016 | 0000 | 12739666685 000185002 | 3 | 14072016 | 0800 | 12519046076 000185003 | 3 | 14072016 | 0800 | 133030...
asked by 14.06.2018 / 12:21
1
answer

Logoff after editing a User Role

I'm working on an asp.net-mvc project and would like to force the user to log off after editing a role belonging to the user, using asp.net-identity public async Task<ActionResult> Edit(string id) { if (id == null) {...
asked by 18.06.2018 / 18:30
0
answers

Write a list with entity framework

I need to register a group that has a friends list. My code: [Table("Grupos")] public class Grupo { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long Id { get; set; } public string IdNome { get; set; }...
asked by 18.06.2018 / 18:02
0
answers

Mvc dbSetReserve does not contain a definition for getAll ()

I created this method, however the error described above appears to me, does anyone know a possible solution? public IEnumerable<Reserva> GetBookingsByRoomId(int Id) { HotelEntities db = new HotelEntities(); var allBookings = db....
asked by 11.06.2018 / 10:52
1
answer

java.lang.NullPointerException error while sending data to a webservice

I have a webservice where I am sending some data. The return of the service is returning this message to me in the integration manual, says it would be an internal error, I wanted to understand if the problem is on my side or the service provide...
asked by 15.06.2018 / 19:50