Questions tagged as 'asp.net-mvc'

0
answers

Entity Framework 6 Many to Many: PK validation problem when adding

Good morning guys, I'm breaking my head here and I still can not fix it. I have two entities, PropertyDetails and PropertyDetails, with relationship n to n. I have been populated, so when I am going to register the ImovelDetalhe, I select thr...
asked by 13.07.2018 / 17:55
1
answer

Remaining with input text filled in after changing asp.net view

I have the following situation I have a view with a certain field, when clicking a button it calls a certain view, it would need that when clicking on a button of that other view, it called that original view with the form filled as it was....
asked by 04.07.2018 / 20:01
2
answers

Get URL and move to the next page

I have tried in several ways, I need to get the value of the current URL, and move to the next page, so that after the create action is completed, I go back to the URL that was passed, how can I proceed? Thank you. I'm trying this way: stri...
asked by 05.07.2018 / 13:24
0
answers

Inner join core.net

I need to do an inner join to load into a table, if it were without inner join I would do it this way: PessoasServicos = await _context.PessoasServicos .Include(m => m.PlanosServicos).Where(m => m.PessoaId == id)...
asked by 02.07.2018 / 19:38
0
answers

How to execute a javascript function on the server side?

On the server side: return JavaScript("Callback()"); On the client side: function Callback(){ // } The result is displayed as "Callback ()" on the webpage, I took the example here . Any solution?     
asked by 03.07.2018 / 03:12
0
answers

Page Capture on external site (running javascript on this page)

There are several ways to read an external page with a component type AspHTTP.Conn, Dynu.HTTP, MSXML2.XMLHTTP, Microsoft.XMLHTTP. For example: <% Set XMLHttp = Server.CreateObject("Microsoft.XMLHTTP") 'CAPTURAR CORPO' XMLHttp.open "GET", "h...
asked by 05.07.2018 / 16:01
1
answer

How to display messages (Summay) for the user in the Index view

I have a View Index and via the Create view is opened in modal form from it. When I open the modal Create, fill in the fields and click on the save button the modal remain open and the summary displays a msg at the top of the screen informing th...
asked by 11.07.2018 / 03:05
1
answer

How do I return a random value from my database already displaying on another tab?

I want to return a random value from the bank and already display in another tab, through a function. For when I click on send already calls this function. Controller public ActionResult RetornarVideoAleatorio(int id) { var lis...
asked by 04.09.2018 / 01:07
0
answers

Error compiling Asp.net Core application MVC: "Asp.net Core" does not exist

Before I formatted my PC and reinstalled VS 2017, my project compiled normally. When I open the project, it restores the nuget packages, but my "Dependencies" fields get alert indicating problem. My project is DDD and has several layers of dot.n...
asked by 21.06.2018 / 23:33
0
answers

How to fix the label with the value of the bar in Chart Chart.mvc

@Envelope @ {     ViewBag.Title="Receiving Indicator - Drying"; }     Receiving Indicator - Drying                     @using (Html.BeginForm()) { <p> <div class="row"> <div class="col-md-2">...
asked by 26.06.2018 / 04:12