Questions tagged as 'asp.net'

1
answer

Using SyntaxTree

I'm studying C # and I came across SyntaxTree while reading about Roslyn . I also read the documentation from Microsoft itself at the link: Introduction to Syntax Analysis However I still have two questions, just to fix the...
asked by 05.12.2018 / 11:31
1
answer

Text field does not take value asp.net MVC

I have a text field in my system called NomeEspecificacao , but when I fill in any value in it, it is always returned null in my Action, that is, the word that I write in the text field never comes. View Code: model SEMA.Fiscalizacao....
asked by 13.11.2018 / 15:57
1
answer

Sum of a result of a SQLDataSource

I'm developing a report system for link control and I need to get the result of a query and make a summation that brings me the total number of links per sector of a given number. I'm using Stored Procedure with MySQL database and deve...
asked by 20.02.2014 / 20:55
1
answer

Help with Query in Linq C #

I have a message table in the following scheme: Id | osID |Interessado | Remetente | Destinatario | Msg -------------------------------------------------- 1 | 2 |João | João | Maria |bla bla bla... 2 | 2 |João...
asked by 30.10.2018 / 17:51
1
answer

ASP.NET MVC - How to upload a file with more than 5mb using ajax?

I'm using the following code to upload files: HTML: <form action="/Employee/FileUpload?UnityId=1&amp;ObjectId=1" data-ajax="true" data-ajax-failure="OnFailure" data-ajax-method="Post" data-ajax-success="OnSuccess" enctype="multipart/...
asked by 25.10.2018 / 22:50
1
answer

Error using Telerik RadTreeList

I'm trying to use RadTreeList in a WebForms application with MasterPage unsuccessful because error occurs in html tags: Linha 59: <qsf:ConfiguratorPanel runat="server" ID="ConfiguratorPanel1" I have tried to change from: <qs...
asked by 24.10.2018 / 17:12
1
answer

I can not get the view parameter in the controller

Remembering that while running it does not return any error Controller using CRUD.Aplicação; using DocumentoObjeto.dominio; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespa...
asked by 21.10.2018 / 21:47
1
answer

Data sent to Model cleans while changing page?

A question that has come to me now, based on this post: Building Customizable Menu in ASP.NET MVC If I populate my MenuItem model when the user logs in, it will populate, for example, with the following "modules": -Products -Clients...
asked by 10.09.2018 / 20:14
1
answer

How to send two integer parameters to an Asp.net MVC Controller using Ajax

I have a composite key table (PersonId and ProfissaoId). The PersonId property is in a hidden and ProfissaoId gets accumulated in a data-id. Stays two information must be passed to the controler so I can delete the record. Currently, I have this...
asked by 21.09.2018 / 23:28
1
answer

How to add includes by expression in repository pattern C #

I'm creating a RepositoryBase (Repository Pattern) with EntityFramework Asp.Net Core, and in it I'm creating a Where method, where I pass an entity where expression. So far the method works perfectly, but in this same method I would like to pass...
asked by 13.08.2018 / 19:41