Questions tagged as 'asp.net-mvc'

2
answers

NHibernate, Antlr and Antlr3 Exception from HRESULT: 0x80131040

I have the following situation: I have NHibernate 2.1.2.4000 that requires yes or yes Antlr 3.1.1 I did an optimization of the entire web application using minification and bundling techniques with WebGrase that uses Antlr (> = 3.4.1...
asked by 08.03.2017 / 20:51
1
answer

Upload images to the index with MVC 4 C #

I have in my view "Upload" the following code: <form action="" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <input type="submit" />...
asked by 16.06.2016 / 20:32
2
answers

Generate JSON array object from a list type Object

I am first generating a dynamic object with: dynamic objetoTabla = new ExpandoObject(); , which I add the properties dynamically according to the data I generate with LINQ , until then everything is fine, then that created object I store...
asked by 10.11.2016 / 05:20
2
answers

I can not show a modal form popup

Working with ASP.NET MVC 5 I can not show a modal form popup when I call it from a floating button shown and it automatically closes only the modal view popup looks second. I show code. HTML <div class="contenedor"> <bu...
asked by 21.02.2017 / 19:09
3
answers

Use of td and tr mvc

How can I put the comma to the employee's salary or currency type this is the view @foreach (var item in Model)                 { <tr> <td>@item.EmpId</td> @*...
asked by 17.10.2018 / 19:44
1
answer

SignalR and mobile devices

Good morning I was using signalr to update an application in which vehicles are shown moving on a map, the locations are notified from the server to the page by signalr, while the page is active, in the browser of the device (it is not a Hybr...
asked by 28.09.2016 / 00:03
2
answers

Name of the files when saving in C # MVC (BodyPart)

I am programming an input file with angularJS and c # MVC. At the time of reviewing the folder where you keep the files shows them to me in the following way So I have my code on the controller public class SubirHvController : ApiC...
asked by 22.03.2018 / 14:39
1
answer

change value of received model properties in controller MVC C #

I have an ASP.NET MVC application in which, through a controller, I receive a model from a view (the MVC standard) as shown. [HttpPost] public ActionResult EnviarEALG(Modelo datos) { } But now by necessity I must pr...
asked by 27.03.2017 / 22:42
1
answer

Postback in ASP net MVC 5 does not work after a JsonResult

Do a postback in jsonresult since I use a modal to delete in mvc 5 but it does not perform a postback .. [HttpGet] public JsonResult Eliminar(int id) { cargo carg = db.cargo.Where(x => x.idcargo == id).FirstOrDefault();...
asked by 29.03.2017 / 18:17
1
answer

What is the correct way to implement TOASTR?

I'm working with ASP.NET MVC 4, C #, I need to implement toastr following a manual, implement it on the server side and do it once with a base class. Extend MVC controller to support Toastr messages But they also recommend implementing it o...
asked by 13.12.2016 / 02:55