Questions tagged as 'asp.net-mvc'

3
answers

Aligning twiter bootstrap buttons inside a Table

My buttons inside the table are breaking the line when a column is added to the table, they are getting like this: Mycodeisasfollows:<divclass="row"> <div class="col-md-4"> @using (Html.BeginForm("Index", "Clientes", FormMeth...
asked by 01.11.2018 / 19:54
0
answers

PK and FK Conflict in SQL Server Database

I am facing a Primary Key and Foreign Key conflict problem in SQL Server 2017 Express. I am using ASP.NET with Entity Framework Code First (Migrations). The problem is that when I add a new Client that is a Person does not add. The Entity Framew...
asked by 29.10.2018 / 00:36
1
answer

Pass the id value from one view to another - Asp.Net MVC

I have the following view where I have a list of articles registered in the database, there I have the evaluate button that redirects to another view where it is in another controller, I want to pass id of the selected article to another control...
asked by 01.11.2018 / 03:14
1
answer

AngularJS: Rendering components cause requests loop

I'm working with a legacy project, written in AngularJS 1.5.8 and ASP.NET 4.5. In order to upgrade Project ClientSide to Angular, the first step I had to take was to make the system componentize. However, I'm having a problem when renderin...
asked by 29.10.2018 / 14:30
0
answers

I can not draw polygon on Google Maps

I'm trying to make a square with the coordinates, but it does not appear. You do not have any errors in the browser, the map is created normally, only the square does not appear: var map; function initialize() { var latlng = new google.ma...
asked by 24.10.2018 / 01:07
1
answer

Glimpse ASP.Net running with Dapper

I just saw content I was studying about performance and optimization in ASP.Net applications. They presented me with a diagnostic tool called Glimpse . The tool's operation is perfect, it measures ajax requests execution times, SQL quer...
asked by 24.10.2018 / 15:54
0
answers

How to inform (give refresh) the Asp.Net MVC application that a new user just logged in that already has a user level?

When I create a user the Register AccountController function that is native to Asp.Net MVC frameworks has a feature that I enter that is responsible for giving a user level. I'm having a problem, which I describe right below. User is logge...
asked by 28.10.2018 / 01:14
0
answers

Images For Asp.Net MVC Product

I have a problem, I do not know how to save more than one images to a product. For example, a product X has a Highlight image (which is what will appear in the window), and another 4 images, which will appear on the product detail page. I'm tryi...
asked by 27.10.2018 / 19:52
2
answers

How to Insert a Parameter from My System on an External URL

So, we have a site that when passing the code of a user, it shows the location of the same. URL example: http://npaa1215.example.com/gisb_prod/integration/coordUser.aspx?codUser=30071665&zoom=15 In the URL we can pass the parameter...
asked by 18.10.2018 / 16:16
1
answer

How to do a search with Join using Entity framework Lambda and Linq

How would I do to search two or more tables. In the system I'm doing, I have the Boat, BarOperationType, and BarBase My mapping is as follows: HasRequired(c => c.ClasseBarco) .WithMany(c => c.Barcos)...
asked by 23.10.2018 / 15:43