Questions tagged as 'asp.net-mvc'

1
answer

input is not pulling certain value from the bank

I need some help. On my system, I have an input that brings up a date from the database. Asyoucanseeinthepictureabove,thereporteddateis06/09/201700:00,buttheactualdateofthisfieldis05/09/201722:03.Theformatthatisinmydatabaseisthus2017-09-0...
asked by 01.02.2018 / 18:18
0
answers

FileUpload Jquery with C #

I have the following problem I'm using MVC (C #) and I need to upload a document in general (.doc, .pdf, .png, etc.) I'm using the FileUpload library and with jquery 3.1 In the example standard the component has, it's jquery 1.9 (I do n...
asked by 05.02.2018 / 00:07
1
answer

Call the controller via javascript or ajax and insert into the asp.net mvc table

How can I get an ul li item to pass its value (id) to my controller and insert it into the table? I already have to list this code snippet below already works I can add items to the list and see text and value: $("#addPeca").cli...
asked by 03.02.2018 / 19:27
1
answer

Associate ApplicationUser of Identity with my class PersonPhysical

My Asp.Net MVC system uses Identity in its default form, with some simple customizations. I also have a Physical Persons table (which inherits some information from People, but I think this is not the case). I would like to associate the Appl...
asked by 01.02.2018 / 12:44
0
answers

How to apply the bootstrap v4 form input validation classes with the ASP.NET Razor syntax?

Follow the code below: View: <div class="form-group"> @Html.LabelFor(m => m.Telefone, new { @class = "font-weight-bold" }) @Html.TextBoxFor(m => m.Telefone, new { @class = "form-control", @placeholder = "Digite seu telef...
asked by 27.01.2018 / 17:05
0
answers

How to add two columns using DataTables footerCallback

Good friends, I'm starting now and would like a help to add two columns individually using js. I have this script that is working to add the n column. 4 This is my html (or link ) <table class="table table-bordered table-hover"...
asked by 25.01.2018 / 19:58
0
answers

Logic tables for a workshop

Ee pessal, I'm developing a project at practice level even without end client, just to improve my knowledge in ASP.NET using MVC. Well, this project would be for a workshop, I created 4 tables CLIENT, REPAIR, FISH AND OFFICIAL. Basically show a...
asked by 25.01.2018 / 19:18
1
answer

Get the value of custom attributes in .NET CORE 2.0 aspnet-identity

I'm using Identity with aspnet core 2.0 and I needed to add the nuCPF attribute in the ApplicationUser table. In the controller I am getting the user data as follows: [Controller: ClientController ) public ClienteController(UserMan...
asked by 22.01.2018 / 12:45
1
answer

Get date by url (string not was recognized datetime)

I'm passing an initial and final date per parameter (depending on the image), as you can see the bars on the localhost (/) I'm passing% 20 and graph generation usually occurs, however on the server you're reporting error 500 and when inspecting...
asked by 24.01.2018 / 21:26
0
answers

Is it possible to create pager in a view-component? (Asp.net MVC View-Component)

I have a view with a view-component that lists various news. I want to make a pagination of this news within this view-componet. The page should be within view-component, how do I make this html call / update / request only the view-componen...
asked by 23.01.2018 / 20:18