Questions tagged as 'asp.net'

2
answers

ASP.NET My JavaScript is not giving away [closed]

Hello, I'm using Javascript to create a number in a TextArea when the Enter key is pressed, for example: 1. Olá 2. Isto é isto 3. Fim This JavaScript, however, is not working and I do not know why, here is the JavaScript: <script type=...
asked by 21.06.2017 / 15:12
1
answer

Implementation of Identity in existing project - Not working

I have a project for a virtual store. The store already exists today in ASP and I'm migrating to .NET. I have the intention of using the authentication control of the .net itself, however when I started the project, I started a blank (without au...
asked by 26.02.2016 / 14:26
1
answer

ASP.NET MVC vs. Angularjs with WEBAPI [closed]

In a web project (type a "small" ERP, rs) where some companies would manage their affiliates being able to exist several connected users, what would be better in performance and performance (I know that each case is a case, but in general) in yo...
asked by 30.10.2015 / 13:09
2
answers

System.NullReferenceException when sending Form Asp.Net MVC

Ihaveaneditcontroller,whichreceivesavaluefromthedatabaseandplaysitforview,andthenIwantwiththatviewtoplaythevaluesonthescreen(basictest)...However,evenwithmycontrollerleadingtotheeditviewpassingaBranchobject,ittellsmethatbranchisnull.Hereismycon...
asked by 12.09.2018 / 21:22
4
answers

Error datepicker jquery does not work

I have the script defined as follows: <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/base/jquery-ui.css"/ > <script type="text/javascript" src="http://ajax.googleapis.com/aj...
asked by 11.04.2014 / 10:41
1
answer

Masterpage error not found

My site that is giving "MasterPage not found" error, and all files have been published:     
asked by 26.02.2014 / 20:08
1
answer

How to call the 'OnClick' event in the code behind?

How can I call the OnClick event in code behind of a dynamically created button? I'm trying the following way, but I'm not getting it. void MontarHtml(List<DocumentoImagens> DocImagens) {...
asked by 17.11.2015 / 14:52
2
answers

Paste Value Boolean Column GridView

I have GridView filling correctly, however I need to get the value of column 5, which is of type BIT in database (SQL Server). In every way I try, it informs error, I already tried to pass to a variable of type bool , pass...
asked by 17.04.2017 / 15:55
1
answer

LINQ query for object with a sub list

I have the following structure: public class Insumo{ public int Insumo_id { get; set; } public List<InsumoDados> Dados{ get; set; } } public class InsumoDados{ public int Desc { get; set; } public decimal Valor{ get; set...
asked by 27.07.2018 / 23:39
1
answer

Capture the value of a Label [closed]

I need to capture the value of a label (c #) that has been inserted via Jquery, eg: <asp:Label runat="server" ID="lblIPLocal" Visible="true"></asp:Label> //Alimenta a Label $("[id*=lblIPLocal]").text("teste"); //Porem depo...
asked by 01.11.2017 / 17:41