Questions tagged as 'asp.net-mvc'

1
answer

How to send ID of an object in jQuery autoComplete?

I need the ID of the selected item in the jquery Autocomplete, when selecting the item by autocomplete, send the selected item ID to the form. In the label The text when sending via post the item ID public ActionResult Cadastrar()...
asked by 09.04.2015 / 18:27
2
answers

How do I troubleshoot ASP.NET MVC URL IDs?

The system URL is in the format http://localhost:52962/Funcionario/Edit?ID_FUNCIONARIO=7 This in my case is a problem, because if the user changes this 7 to 11 for example he will get the employee 11 (which according to business rule this s...
asked by 11.07.2015 / 16:52
2
answers

Server changes have no effect

I have an application running in C # with .NET 4.5 on IIS 8. To editing a Controller (which is a .cs file). However, I edited some things on this Controller and I saw that these changes were not spreading. I tried to edit the Action of this C...
asked by 13.04.2015 / 14:27
5
answers

How to align the Left fields of an Html table?

I can not align my labels (Razor) to the left of my table in html with Visual Studio! <table cellspacing="6"> <tr > <td > @Html.Label("Cep: ") </td> <td...
asked by 02.03.2015 / 17:42
1
answer

Summarizing Selected Columns

I have the following scenario: A table created in the razor with several columns, where each row has a checkbox in place different from each other, and would like to do the checkbox sum clicked by column via javascript, but I have no idea whe...
asked by 17.07.2015 / 21:11
1
answer

@ Html.ActionLink submitting form Post MVC

@using (Html.BeginForm("MinhaAction", "MeuController", FormMethod.Post )) { <div> <table> <thead> <tr> <th>Empresa</th> <th>...
asked by 12.05.2015 / 19:02
1
answer

Test variable content

Using ASP.Net MVC and AngularJS I tested the contents of a view field like this: $scope.estado.ldRedeBasica = @(Model.ldRedeBasica == null ? "[]" : Html.Raw(Model.ldRedeBasica)); Only returned the following error:    Compiler Error Me...
asked by 27.03.2015 / 18:29
1
answer

Problem deleting image

I have an image that is the avatar of my user, hence I need to delete and I have the following code snippets: Action that is used in importing the file public void MinhaActionParaImport() { var arquivo = Request.Files[0]; var cami...
asked by 21.05.2015 / 21:06
1
answer

Web Forms for MVC 5

I joined a company, where we have an application running in Web Forms, and we are developing new applications with Asp.Net MVC. However, I was asked to supplement an application with Web Forms using MVC. Is it possible to do this kind of integra...
asked by 15.01.2015 / 19:49
1
answer

How to get the value of a UF list through the CEP query via Ajax?

I'm developing an address form where the user types the zip code and automatically fills in other fields via Ajax. The problem is that I can not get the UF value, which in my case is a list. My example code: <fieldset> <legend>...
asked by 22.01.2015 / 12:52