Questions tagged as 'asp.net'

1
answer

How to pass variables to Ajax.BeginForm

Hi, I am new in c# and I need to pass in the following función(PostFailure) in js a variable string of c# . The problem is that the message parameter has a json that I can not understand where it comes fr...
asked by 02.02.2016 / 15:59
1
answer

foreach does not appear in Vista

I try to make this work but it does not show any errors or exceptions, it just does not appear in the view ... @if (Model.Recetas != null) { <div class="row"> @foreach (Receta receta in Model.Recetas) { &l...
asked by 12.07.2018 / 19:49
0
answers

SQL instances of a remote server

The problem is the following, I would like to obtain a list of all the sql instances of a remote server, currently I have only been able to get the list locally using the following code fragment provided by Microsoft. class Program { stati...
asked by 11.09.2018 / 10:17
1
answer

LinQ: show list of parents and children who depend on a model value

I have two models, Category and ExternalResources: Category public partial class Category { public long CategoryID { get; set; } public string Name { get; set; } public Nullable<long> ParentCategoryID { get; set; }...
asked by 21.05.2018 / 16:04
1
answer

Navbar depopulated and distorted

Good morning! More than an error I have a query with navbar (although they also occur with other situations). I'm starting a project but just happened to me that I do not understand why it happens: My code of default.Master is like this:...
asked by 21.05.2018 / 16:04
1
answer

How to autocomplete label according to a data in textbox?

What I need is that when a user types a code in a textbox, "appears" the name related to that code in a label. In the click event of my save button try with this code but do not do it, until the entire saving process finishes. And what I need...
asked by 09.05.2018 / 06:31
2
answers

How to read the result of ajax with c #?

I have this code that makes me a query an action of my controller, which returns a list in JSON function CargPregRegist(valor) { $.ajax({ type: 'POST', url: '@Url.Action("CargPregTipo")', data: "tipo=" + valor,...
asked by 24.10.2017 / 20:16
1
answer

How to control the time inside a form without taking any action

Good day community, I'm doing a case management form in ASP.NET, which consists of a grid (asp: gridview) of cases that users manage, which redirects to a form, if a user is in the form of one of all cases, no other can access ... that could...
asked by 16.09.2017 / 15:34
0
answers

OracleDependency

I want to make an application that has push notifications, using OracleDependency, I follow the instructions in the documentation. I execute the following commands: grant change notification to SN_Hospitales; GRANT EXECUTE ON DBMS_CHANGE_NO...
asked by 03.09.2018 / 10:43
1
answer

Authentication of Individual User Accounts in Asp.Net Core

When I create an Asp.Net Core application with Authentication of Individual Users Accounts, it asks me for certain information: Domain name Application ID Registration policy or login What should I put in them?     
asked by 14.10.2017 / 20:34