Questions tagged as 'asp'

1
answer

Alert upon entering condition in the Asp Net MVC Controller

Good evening, I tried to look in other posts and I did not find the answer. I have a Controller in my Asp Net MVC project that has this condition: if (resultado == null) { ModelState.AddModelError("", "Usuário ou senha i...
asked by 10.05.2018 / 05:11
0
answers

Currency in Site Asp Net MVC

I created my website in default MVC asp net and I noticed that when I squeeze the local site in my machine with Windows-PTBR it appears the currency of the site (that is an e-commerce) like Real R $. By hosting my website on a gringa webhost, I...
asked by 03.05.2018 / 01:33
1
answer

From x-www-form-urlencoded to json

Hello! I have been the "jr programmer." in maintaining a virtual store, making changes and improvements to the site through Classic ASP hosted on Windows server, with IIS. Context : The virtual store uses a "payment gateway" that bridges t...
asked by 23.04.2018 / 16:30
1
answer

Error Adding Controller with views using Entity Framework in Asp.NET

When you try to add the following error appears: Model:usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;namespaceMVCEntity.Models{publicclassUsuario{publicintId{get;set;}publicStringLogin{get;set;}publicStringSenha{...
asked by 16.04.2018 / 23:45
0
answers

decrypt password field of an ASP application that writes to a MSSQL DB

I need help figuring out how to decrypt or just read this password from my database, I happen to need to use that user table for another application, however, I have no idea what type of encryption the application is using in the password fields...
asked by 09.04.2018 / 16:55
1
answer

Paste ListView values - GetElementByID

Good evening! I have a ListView and I am displaying the values inside Span's, I would like to get the value of the span when clicking but as the Span's have the same ID I always get the same value. Does anyone have any ideas how to get around...
asked by 01.04.2018 / 00:10
1
answer

Why is not my javascript working in the _Layout.cshtml file?

I'm doing a website in ASP.NET MVC, and I'm trying to make a really creative menu, so I already have everything ready that tested in html and css is usually working, but here in ASP NET MVC I'm not getting it to work, I think I'm doing something...
asked by 13.03.2018 / 22:31
0
answers

What is wrong with this method?

I am creating an asp net mvc application, I created a domain class with: public class Parcela { public int parcelaId { get; set; } public decimal valor { get; set; } public DateTime vencimento...
asked by 07.03.2018 / 17:12
1
answer

Not null parameter in Int fields

I'm creating an application in Asp.NET MVC (I'm using the Scafffolded feature), however, all the fields are being filled in, how do I remove this parameter? Note: I've tried unchecking the "Allow null value" option in the database, but withou...
asked by 07.03.2018 / 13:29
0
answers

Send complex view object to ASP MVC controller

In my View I have a complex model where I display only a few fields in a table. In this model I have another list called Tracks where I do not display its contents. Look at the image below. Ineedtogettheobject(varItem)whichismyAlbumViewMo...
asked by 26.02.2018 / 19:39