Questions tagged as 'asp.net'

1
answer

ASP.NET MVC error circular reference when serializing object

Good afternoon dear fellows! I'm a beginner in ASP.NET MVC and C #, I'm developing a project and I've encountered a problem. Basically, it's a store registration system. I have two tables, one called Shops and another called Owners (Where, of...
asked by 15.06.2018 / 21:35
1
answer

Ajax POST does not execute the ASP.NET MVC action

   Controller Action public class EstabelecimentoController : ControllerBase { [HttpPost] public ActionResult ImportarEstabelecimentos() { var file = Request.Files["inputFileImportarEstabelecimentos"]; return Red...
asked by 15.06.2018 / 17:44
0
answers

Line ordering error in log

I'm having a hard time showing the log to the user. Show the rows in an orderly way, however the display appears as follows: Line 5 Line 15 Line 11 Line 45 Line 35 Line 103 I would like it to be in the following order: Line 5 Line 11 Li...
asked by 28.05.2018 / 15:39
0
answers

Button action from vb .net does not work

I want to do a simple action when a button is clicked but nothing happens. Aspx file <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderNormal" runat="server"> <asp:Button Text="text" runat="server" ID="Teste" /...
asked by 28.05.2018 / 19:39
0
answers

Ajax Control Toolkits does not run on the Azure Web App

I have a WebForms .aspx application with Ajax controls from the Ajax Control Toolkits component, which runs perfectly on the local machine! But when I publish to the Azure Web App server, the controls do not work even by referen...
asked by 22.05.2018 / 20:58
2
answers

C # MVC 5 - \\ Execute query with result of another query

I'm coming from PHP and learning C# MVC while migrating the applications I have. I came across the following problem that I can not find a solution: This is my class that generates the menu dynamically in the system: pu...
asked by 19.05.2018 / 14:04
1
answer

Get return from url c #

I need to get a return from an ajax that I send. The URL returns me something like: http://localhost:11910/ProtocoloExterno/Inserir?itensContrato%5B0%5D%5Bid%5D=1&itensContrato%5B0%5D%5BvalorUsado%5D=15110%2C10&itensContrato%5B1%5D...
asked by 01.06.2018 / 18:54
0
answers

Partial with Javascript

If I create a Partial like this below "given as an example": <script> //Codigos C# Meus documentos.. //Codigos Javascript... </script> ... and within this partial contain c # code, this partial along with c # a...
asked by 08.05.2018 / 20:01
1
answer

Receive date from the datapicker

I'm creating a site where I have a datapicker with the following site I wanted it to save when fetching the date that was chosen from the datapicker that appears instead of the date of the textbox.     
asked by 02.05.2018 / 13:03
1
answer

Error debugging webservice (asmx) locally in Visual Studio

I'm trying to debug a webservice (asmx) locally from Visual Studio. When attempting to create the connection to the database, the following exception occurs:    Request for type permission failed   'System.Security.Permissions.FileIOPermissio...
asked by 17.05.2018 / 19:37