Questions tagged as 'asp.net-mvc'

1
answer

System.Data.SqlClient.SqlException: 'Incorrect syntax near the keyword' OF '.'

Again I requesting your collaboration I have a problem which I have been analyzing without finding the error it generates the following error System.Data.SqlClient.SqlException: 'Incorrect syntax near the keyword' OF '.' Already verify in the...
asked by 01.06.2018 / 15:50
2
answers

Deactivate asp.net mvc controls on the server side

Good morning, I present a small concern, recently I am working on a sales module for the company I work for. What I need is to deactivate two controls when identifying what is a cash sale: Controls: <input type="button" class="btn btn-pr...
asked by 11.09.2018 / 17:21
1
answer

Asp.net Mvc Datatable does not render correctly

I am working with Asp.net Mvc and jquery.Datatables, and I have the following problem. in a page, I'm showing process data ... and for that I defined an html table, and with datatable I defined the following JS function to control the load....
asked by 13.12.2018 / 15:34
1
answer

ASP.NET Calculator

I'm doing a small exercise of operations consuming a Web Service, but I can not find a way to show the result in the view, I'm not using Model. controller { return View(); } [HttpPost] public ActionResult Index(int primero, int segundo...
asked by 11.01.2018 / 15:15
2
answers

Asynchronous javascript calls and asynchronous task .net

In my work a colleague made a statement, he said that it did not make sense to do an asynchronous method in c # if in ajax . What would be the advantage of having an asynchronous call in
asked by 20.07.2016 / 18:05
3
answers

@ Styles.Render does not work on server

Dear friends of Stackoverflow, I have the following problem: I am developing an ASP.NET MVC 4 application, which I have uploaded to a Azure server. The issue is that when I'm working locally, I compile and run the application on the lo...
asked by 18.03.2017 / 19:34
2
answers

Hablitar and dehablilitar all the TextBox of a page

I have a page aspx where I have more than 200 TextBox , it's like a Form, then you have two options when you enter the page one of only "Show" and the other is "Edit", the options are enabled with two CheckBox : protected vo...
asked by 31.01.2017 / 18:56
1
answer

Storage of a BD with EF in asp.net MVC project

I have a mvc web application that stores 2 files with extension .mdf and .ldf locally within the project, which I understand are the same ones that Sql Server uses and these are now inside the app_data folder that was generated with EF ....
asked by 10.03.2016 / 00:05
1
answer

Using Ajax.BeginForm MVC 4 aspx c #

I'm a novice with MVC 4 My question is; How can I send all the information that the user captured in HTML to a function of my controller ?. That this function inserts my data sql server with Ajax.BeginForm there are n...
asked by 01.07.2016 / 18:25
2
answers

Consuming a service from the web api in mvc?

I am trying to consume web service api via httpwebrequest and razor to show it in mvc view. in the mvc controller I have this code in which I want to consume the api using EntradaElectronicaAlmacenApi.Services; using System.IO; using System.Ne...
asked by 27.03.2018 / 03:43