Questions tagged as 'asp.net-mvc-5'

0
answers

publish ASP.net site in Apache2

I have a system developed in ASP.Net using Razor, MVC, Entity Framework and Jquery which is published in a IIS and works correctly . I want to publish the same system on a Apache server (I'm not an expert on Linux platforms and therefore...
asked by 27.01.2017 / 04:11
0
answers

How to implement a different framework to Boostrap in an ASP.NET MVC application [closed]

The idea is to be able to implement another frontend framework such as Materialize, Semantic-UI, UI-Kit or foundation in an ASP.NET MVC App.     
asked by 02.07.2016 / 01:53
1
answer

When calling a form it must be converted into popoup

I am working with ASP MVC, I call a partial view that should become popoup , I call it from a button from my view index , the code is as follows: @Model OperacionesCrudMVC.Models.Phone <div class="modal-header"> <button ty...
asked by 09.03.2016 / 14:50
2
answers

Problems with [Authorize] custom

I have a% custom [Authorize] that extends from AuthorizeCore in which I do a validation to return a true or false , until there all right, if I enter my page and I'm not logged in, it redirects me to my default page. But...
asked by 26.06.2018 / 16:24
0
answers

Pass default values to child class functions in C # [closed]

I have a EmpleadoProgramador class that inherits from Empleado , with a CalcularSueldo() function that calculates the salary. I need it to have default values, without needing to pass them by argument. I could only make it...
asked by 09.05.2017 / 01:00
1
answer

View data is not updated

I have a list of clients that I have to update, but when changing the values, when I click on update, the original data reappears. Model Cliente : using System; using System.Collections.Generic; using System.Linq; using System.Web; n...
asked by 08.05.2017 / 19:40
0
answers

How can I update the contents of a Tab using ajax in ASP.NET MVC 5?

I want to update the content of the TAB, by clicking the submit button, I update the whole page, not the content, can someone help me? Thank you very much! Controller PeticioUsuarisController: // POST: PeticioUsuaris/_Demanar...
asked by 20.04.2016 / 09:13
2
answers

.load (fn) does not work when migrating to .on ('load') Jquery 3.1

After having updated from .load () to .on ('load') , it gives problems, in chrome the code is not executed when it is loaded the first time, I have to refresh the page again several times. The same happens in Internet explorer. Migrate from...
asked by 31.10.2016 / 16:31
2
answers

how do I set the number of decimals I want to show from a double in c #

My problem is that I am using Math.Round and it is rounding, what I need is that it only shows me a single decimal without being rounded This is my normal result double rap = 0; rap = (11300 - 8508.54)* 0.015); That this gives me...
asked by 12.11.2018 / 21:45
1
answer

How to change the name of the cookie that the token creates in the forms?

I have a form where I occupy @Html.AntiForgeryToken() which creates a cookie of name __RequestVerificationToken which I want to hide. For this I thought about changing the name of that cookie to another one so as not...
asked by 13.06.2018 / 23:52