Questions tagged as 'asp.net-mvc'

2
answers

Unsaved relationships

I have this question where thanks to the help of colleagues I was able to solve my situation. Well, at least in parts ... After making the adjustments pointed out, the data is being saved. But relationships are not being saved during data entr...
asked by 29.05.2016 / 05:55
2
answers

Problem to execute "Update-Database"

I'm following the tutorial for this video to set up an ASP.NET MVC project using EntityFramework6. The database used in the tutorial is SQLServer and what I'm trying to use is MySQL. I already have the MySQL Connector installed. I was ab...
asked by 09.07.2015 / 04:09
1
answer

Error registering user

When I try to create a second user, with ASP.NET MVC , I get an error:    Violation of PRIMARY KEY constraint 'PK_dbo.AspNetUsers'. Can not insert duplicate key in object 'dbo.AspNetUsers'. The duplicate key value is (00000000-0000-0000...
asked by 26.12.2016 / 20:16
2
answers

Error loading Widget Dialog () jQuery in ASP.NET MVC

I installed jQueryUI, I changed my BundleConfig, but even so the browser does not recognize the Dialog () Widget of my script jquery.dialogo.js . I've checked that the library is loading and everything is fine. BundleConfigpublicclassBundle...
asked by 24.09.2015 / 22:03
2
answers

Submit Link Information for a Modal

I'm developing using Bootstrap and ASP.NET MVC. I am using a Table where on each line I have the Edit and Delete buttons. I'm using the following code: <div class="container"> @foreach (var item in Model.REGISTRO_PERGUNTAS)...
asked by 30.10.2014 / 21:04
2
answers

Get the value of a TD tag by jquery and send to method in Controller

How do I get the value of a tag when I double-click it and get that value and move to a method in my controller. The double click function is working. $('#nmUsuario').on("dblclick", '.clique', function() { CarregaDados(); }) Where nmUsu...
asked by 23.10.2014 / 12:45
1
answer

Error 500 in Asp.Net Library Awesome

I found browsing this library ASP.net Awesome . I found it to be very functional and easy to use. According to the documentation for using a helper named Lookup , you must have a controller and call the helper in csht...
asked by 19.05.2014 / 01:48
2
answers

Error when querying EntityFramework

I'm having a problem with a request, in the controller when I make the query in the products table the following message appears when I debug, I click on an icon and it does not return any data, but the table has data and I put it to return all:...
asked by 13.12.2018 / 17:02
2
answers

EF with TPT inheritance and audit fields

Hello. I have already looked for answers in the TPT and Entity tags but I have not found anything similar. My problem is when trying to use an inheritance model (TPT) where tables have fields with the same name (example: DataCadastro...
asked by 17.02.2016 / 14:29
2
answers

How to upload multiple images with just 1 click?

I'm studying uploading images and files, and I can upload 1 image, and display it on the screen, but I'm interested in uploading multiple images with just one button, just like that web application link . How to upload multiple images? I'm u...
asked by 06.03.2014 / 15:41