Questions tagged as 'asp.net-mvc'

2
answers

How to put a dropdownist in the edit method for mvc 5?

I have a problem adding a DropDownList , RadioButton and CheckBox in the edit method, I do not know how to put it in the view, or what I have to modify in the class or the controller The class: public class Bills {...
asked by 24.05.2016 / 19:36
1
answer

Implement unity container

I am building the architecture and I need to define the injection of dependencies. The idea is to set unity in a class library project to be able to reuse it (is this possible?) I have the following structure:    Solution.Core (I...
asked by 30.01.2016 / 22:28
0
answers

How to search by means of ID and modify or delete ASP.NET

I commented that this is my update code, this code I leave my controller I did, the question is how can I make my method to search by id and then do the action of delete or update, they would be so kind to support me, please, I leave my method o...
asked by 11.12.2018 / 20:50
0
answers

Unclosed quotation mark after the character string ',', ')'. Incorrect syntax near ',', ')'

Can you help me correct this detail please public void crear(Alumno objAlumno) { string crear = "insert into Persona(idAlumno,nombre,Apellido,Telefono)values('" + objAlumno.IdAlumno + "'," + objAlumno.Nombre + "','" + objAlu...
asked by 11.12.2018 / 18:38
1
answer

Pass Data to a modal window with jquery

I have a JS function, which receives a parameter. This function, raise a dialogomodal box with jqueri.UI and I need to know how to pass the parameter, since this dialog box allows the user to select a file, and when it is selected I must pass to...
asked by 13.12.2018 / 22:39
0
answers

Search id with Razor and Ajax ASP.NET

The detail is that in my view I have the delete and search mode. Through an ajax I do the search but it does not do the action, because it is looking for the view that it does not have and that is the same one where I have the method to eliminat...
asked by 14.12.2018 / 01:18
0
answers

Does not contain any public definition for GetNumeric ASP.NET

Someone who can guide me to correct this error, it appears in the (foreach) and so far I have not been able to correct it, likewise I put the code of my clsEntity, where the properties are . @model model.entity.Alumno @{ ViewBag.Title = "i...
asked by 07.12.2018 / 00:03
0
answers

How to export a Google Org Chart to Image?

I have a problem with the following chart which I generated with the google API of charts. On this occasion I would like to know how to export this Organigram to Image. My project is made in asp.net mvc but this time I only used the pure API wit...
asked by 04.12.2018 / 18:36
1
answer

Problems when querying Data with jQuery.DataTables ()

I am working with jquery.DataTables () in an Mvc application with Asp.Net I have implemented the data query through ajax, but I have an error and I can not find where it is, since according to the documentation the name of the action result t...
asked by 03.12.2018 / 16:16
1
answer

MVC view is not rendered in Asp.net

I have a view that is not rendered, but on the contrary, it shows the data of a viewmodel that I am passing through the controller to fill a dropdownList. This is my controller public ActionResult Inicio() { int KamId =...
asked by 30.11.2018 / 19:52