I have a Model called Question:
public class Pregunta
{
public int id { get; set; }
public string descripcion { get; set; }
public int peso_id { get; set; }
public List<int> roles_id { get; set; }
public int dimension...
I want to redirect from a view to a controller that is a higher level, for that I use @url.action in this way
miUrl = '@Url.Action("CambiarEstadoVisita", "~/Areas/Visitas/Visita")';
But the link it generates is this:
http://localho...
I have the following code:
<% For Each img In Model.listadoNoticias.Item(0).FOTO
Dim id_LaImagen = "foto_" & img.IdFoto.ToString()
Dim src_imagen = img.RutaFoto.Split("/")
Dim ruta_Foto = Server.MapPath("~") & s...
Hi, I have the following problem, I want to write my csv but I put the accents wrong with strange characters. Then I want to add UTF8 but when I put it on, more Encoding.UTF8 already tells me that
Unable to convert string to System.IO.Stre...
Is it possible to do something like this?
@{var list = [1,2,3,4,5]; }
I do not boot error but then when I want to use that variable in Jquery, it does not appear.
What is the correct way to do it?
Well the question here is that I'm working on a razor file and I'm wanting to create a json from an array in vb.net as follows:
For Each ItineraryPnr In ItinerariesNode.ChildNodes
arrayPnrRetrieve(contPnr) = New With {Key .trasactio...
Friends What happens is that I need to capture the value of an attribute of an html tag in this case.
<input class="btn btn-danger link1" type="button" value="Delete" data="@item.MunicipalityId" />
I have this tag inside a cyc...
For example, I have a datatable:
<script type="text/javascript" class="init">
$(document).ready(function () {
$('#table_1').DataTable( );
});
</script>
<table id="table_1" class="table table-striped table-bordered" >
&...
I am consuming a service to consult customer balances, it returns me as an answer an entity with these properties:
public string errorCodigoField { get; set; }
public string errorMensajeField { get; set; }
public decimal saldoRecargasField { g...
I appeal to you because I have not been able to implement the autocomplete in dynamically created elements with jquery, I do it in the following way.
$('#addMarcaTabla').click(function () {
var html = '';
html += '<tr class="...