Questions tagged as 'asp.net-mvc'

1
answer

Change The DropDownList list in the OnChange event

good morning I have the following code to assign a list to my DropDownList from the controller ViewBag.Ciudad = new SelectList(GetCiudadAll, "idCiudad", "NombreCiudad"); in the view @Html.DropDownList("Ciudad", (SelectList)ViewBag.C...
asked by 13.12.2016 / 14:59
1
answer

MVC4 modify a model parameter of a partial view, from another controller

Please if anyone could help me modify the property value of a partial view model. The problem is the following I have the view A that invokes the partial view A1. I call the partial @Html.Action("Child", "Token") in the controller o...
asked by 13.12.2016 / 22:05
1
answer

Error creating a partial view strongly typed in Visual Studio Express with the Razor engine

When I try to create a strongly typed partial view in visual studio 2012, I receive the following error:    There was a problem getting an AppDomain to run the transformation from the host. The process can not continue. This problem doe...
asked by 16.11.2016 / 17:24
1
answer

Button inside Navbar asp.net

Hi, I'm new to web programming and I'm making inroads into the MVC and BOOTSTRAP world. I have this code in which I want to put a button instead of a link in the navbar that comes by default in ASP.NET, I would like "Register" and "log in...
asked by 01.11.2016 / 04:15
1
answer

Manage a list of items with images

Good morning My query is the following one I would like to know how I can do to move by a list, object by object showing me the information registry by registry. I mean, I have my first actionResult that receives the information to generate t...
asked by 01.11.2016 / 22:44
1
answer

Disable submit button with jquery?

I have a submit button to send a form and go to another page: <button type="submit" id="btnlog" class="btn btn-lg" value="" >Ingresar</button> and by disabling the button with jquery $('#btnlog').click(function () { $(...
asked by 03.12.2016 / 03:00
1
answer

fails the ApplicationDbContext with mysql database

Why do I get an error in ApplicationDbContext connected to database mysql ? using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using MVCInBuiltFeatures.Models; using Microsoft.AspNet.I...
asked by 15.10.2016 / 00:50
1
answer

Insert user role automatically

I have this structure and I am working with ASP MVC. I want to make a user registration and what I want to do is that when the user registers, add a role automatically. As you can see, there are different users so I just want to make a single...
asked by 02.10.2016 / 05:12
1
answer

Manage large volume requests in Windows Azure

What kind of community? I have the following doubt; We are developing a project and we have a web application made in asp mvc and applications in android and iOS. Many of the functions that the mobile platform does are done through the web vi...
asked by 18.07.2016 / 23:26
1
answer

How to add values of a datatable, depending on whether the following value is different from the current one? In MVC C #

I have the following datatable in the view, which lists certain data: <table id="table_listadoLineasComprobante" class="table table-striped table-bordered tableSection_2" style="margin-bottom: 0 !important;"> <thead> <tr sty...
asked by 15.09.2016 / 01:25