Questions tagged as 'asp.net-mvc'

1
answer

Filter detecting error in different password fields in the same view

I have a VIEW call Change Password and I have a Current Password field, a New Password field, and a New Password Confirmation field. All three fields pass through the same control filter for these passwords, the rule being that the password m...
asked by 26.09.2017 / 21:36
0
answers

View with filters and grid in Asp.Net MVC

I'm new to Asp.Net MVC and I need to create a View similar to the following image: Inthe"Filters" box the user will select the filters to be used in the query and click the "Filter" button to bring the data. The data will compose a list a...
asked by 22.09.2017 / 18:59
1
answer

I can not use the Date field. I am using Asp.Net C # MVC

function set_dados_form(dados) { $('#id_cadastro').val(dados.Id); $('#txt_Nome').val(dados.Nome), $('#txt_Telefone').val(dados.Telefone), $('#txt_Endereco').val(dados.Endereco), $('#txt_Data').val(dados.DataNascimento),...
asked by 01.10.2017 / 19:20
1
answer

SendEmailAsync method does not run

Debugging I saw that the SendEmailAsync method of controller does not run and does not return error, it is simply ignored, all the partions are correct userId em>, code and protocol . string code = await _userManager.GenerateEmailConf...
asked by 09.10.2017 / 00:37
1
answer

How to add an email mask inputmask in an input field inside a table?

How to add an email mask inputmask in a input field within a dynamically created %% table? Example: <tr role="row" data-row-index="0"> <td class="text-center"> <input id="chkSelecionado" type="checkbox" />...
asked by 19.09.2017 / 18:57
0
answers

Add Font in BundleConfig

I want to put a source that is in a link , tried these two ways and none works, simply my page does not load the source. Here are codes: First form: var linkFont = "http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&s...
asked by 22.09.2017 / 02:48
2
answers

ASP .NET MVC and JavaScript - Open modal with ID of the selected object in a list

INITIAL QUESTION I'm working on an ASP.NET MVC project with bootstrap and need to open a modal for editing and deleting records from a listing. The idea is not to leave the buttons next to each row (like table columns), but rather to sel...
asked by 14.09.2017 / 16:03
1
answer

Error using bootstrap with ASP.NET MVC

I'm having the error while using bootstrap.min.js, the error is that it does not find a function. Here is the error below and setting up my system. Is there anything else you need to post to help me find the problem?    Error   Errorfunc...
asked by 12.09.2017 / 00:36
1
answer

Display image saved in the database and allow the user to change the image

I am retrieving the information from the database and checking if the GIF and Image fields are null or not to show the user the best option in View Edit. Anyway, here's the code where I make this check: <div class="col-xs-12 col-md-4 col...
asked by 28.08.2017 / 17:41
0
answers

error while doing enable-migrations in visual studio in an mvc project

I'm trying to connect my project to my local bank.    andmyconnectstringisbelow.  <addname="DefaultConnection" connectionString="Data Source=LAPTOP-QEGG9P00;Initial Catalog=Portal_Recarga_Virtual;Integrated Security=False;Encrypt=False;Tru...
asked by 10.09.2017 / 03:00