Questions tagged as 'asp.net-mvc'

1
answer

How to put hash to an asp.net mvc url?

I do not really know how to explain this topic, what happens is that made my application in mvc and asp .net, then every time I enter my menu on my website and access to a page my url is this: localhost: 1523 / en / quienessomos Menu that I u...
asked by 22.04.2016 / 01:12
1
answer

Load DropDownList via ajax

I work in an ASP MVC project, I am trying to create an entity Material for which I have the following Model: public class MaterialViewModel { [Display(Name = "Número de Registro")] public int MaterialId { get; set; } [Displ...
asked by 30.04.2016 / 00:05
1
answer

How to pass variables to Ajax.BeginForm

Hi, I am new in c# and I need to pass in the following función(PostFailure) in js a variable string of c# . The problem is that the message parameter has a json that I can not understand where it comes fr...
asked by 02.02.2016 / 15:59
1
answer

capture the href link with javascript in asp.mvc webgrid

I have the following code. <div class="table "> @grid.GetHtml(tableStyle: "table highlight hoverable" , columns: new[] { grid.Column("Persona"), grid.Column("Calificacion"), grid.Column("...
asked by 31.07.2018 / 19:53
1
answer

How to get dynamic checkBox values in the ASP.NET MVC controller

I made a view that relates the role of the user to the user, created the view with the dynamic check boxes that can register roles and then assign it to the user, only when sending the marked roles, in the controller does not return to the contr...
asked by 05.09.2018 / 19:22
1
answer

Problems with my datetimepicker time

I'm creating a calendar and I do not want to allow you to select past dates, in the js I'm placing the following: <script> $('.datepicker-default').datetimepicker({ language:'es', daysOfWeekDisabled: [0, 6], todayHig...
asked by 23.04.2018 / 21:09
1
answer

Authentication of Individual User Accounts in Asp.Net Core

When I create an Asp.Net Core application with Authentication of Individual Users Accounts, it asks me for certain information: Domain name Application ID Registration policy or login What should I put in them?     
asked by 14.10.2017 / 20:34
1
answer

Get SelectedIndex from DropDownList - ASP .NET MVC 2 from Javascript

I have a page with MVC 2 , which I had in .aspx , Javascript code, but since I need to use that page from a < em> widget native to iOS , I want to analyze an XML . I had to remove the Javascript code to a separate file because the &a...
asked by 18.01.2017 / 22:15
1
answer

How to save a specific row of a data table: contains an attachment and texts?

I have a list of data in a table, where each row has its respective save . This button saves the date and document attached. I have it this way: When I click on save and call my action, it brings me all the rows, so I have to do a fo...
asked by 30.11.2016 / 16:27
1
answer

Checkboxfor MVC is not displayed

My question is how can I solve a case with the handling of checkboxfor for my data model I have the following model: public int Id { get; set; } [Required(ErrorMessage = "La fecha no puede estar vacía ")] public DateTime FechaProcesoRe...
asked by 30.08.2016 / 15:08