Questions tagged as 'asp.net-mvc'

2
answers

Error in enum c # when placing arithmetic sign

I am filling a ComboBox through an enum in MVC c #, in that combo are filled as options of the arithmetic operators combo, but I only require the symbol (+, -, *, /), when I only place the sign generates me an error I have already place...
asked by 18.06.2018 / 19:55
0
answers

Kendo Template does not show special characters

I am using Kendo UI to generate a report in ASP.net the problem is that I am trying to show a multiselect and it does not work for me, eh tried with many ways to show it on the script that contains the template, eh used Viewbags and Dictionary t...
asked by 13.06.2018 / 17:07
0
answers

Format of date VB.net EF

Function TraeConta(ByVal DAT_CODIGO As Integer, ByVal DAT_NRO_ORDEN As Integer, ByVal DAT_RUTPAC As Integer) As MIN_CONT_CONTACTADOS Dim cont As New MIN_CONT_CONTACTADOS Try...
asked by 11.06.2018 / 17:24
1
answer

Problems with Enums

I have the following enum public enum Tipo { Tipo0 = 0, Tipo1 = 1, Tipo2 = 2, Tipo3 = 3 } Which I use in my model in the following way public class MiModeloViewModel { public Enums.Tipo Tipo { get; set; } } F...
asked by 08.06.2018 / 19:27
1
answer

How to handle the cookie of my jwt?

I have an api with jwt that gives me a token of authorization to be able to navigate in the application that consumes the api, this token has an expiration date and it is here my question. How can I handle this from my client appli...
asked by 12.06.2018 / 00:17
0
answers

Pass an Array to Autocomplete jQuery-UI (ASP.NET)

I'm using the Autocomplete of jQuery UI, the point is that I receive an array from my controller and it does not show me the data (ASP.NET) <script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script> <script src="~/...
asked by 07.06.2018 / 04:54
0
answers

CheckBoxFor and ListBoxFor do not behave in the same way when making a post with them?

I have a form in which I occupy ListBoxFor and CheckBoxFor for them I have their respective classes which are the following. public class SelectViewModel { public List<SelectListItem> MiPropiedad { get; set; } publi...
asked by 05.06.2018 / 22:41
0
answers

Return a value from a DropDownList

How can I get the value of a DropDownList in the controller, when I select an option I want to fill another DropDownList with a cascaded script On the Controller I filled DropDownList with ViewBag.Id_Business public JsonResult GetPasi...
asked by 12.06.2018 / 06:49
0
answers

When the cookie expires, it renders a view within my form when making a post. Why is this happening?

I have the following problem, which is not why it happens or how to fix it. Next I expose the case. I have a web application built with asp.net mvc5 which has a cookie that lasts x minutes, at the time of expiration and is about to submit som...
asked by 31.05.2018 / 22:59
0
answers

block input submit consulting a bbdd

I have a question as to how I can make an input that is making me submit to be blocked until a check is made on a previous page that I have? In simple words I am saving a form that is going to be saved directly to the DB and if the origin is...
asked by 30.05.2018 / 21:04