I need to store what returns a JavaScript function inside a variable in a C # view with razor in mvc 5.
For example, what this function returns:
function fechafin(){
var ff = document.getElementById("ffin").value;
return ff;
}...
I have a web application with mvc where I have a toggle button to change the status (on / off) but I do not want to reload the entire page once the status is changed, also for some reason the data I need from the view for the controller do not p...
I have the following model
public class UpdateViewModel
{
[DataType(DataType.PhoneNumber, ErrorMessage = "El campo teléfono particular debe ser un número")]
[Required(ErrorMessage = "El campo teléfono particular es obligatorio")]
[...
I have the following query in the Action
Then in my Vista I try to show the table in the following way
using @ item.cantRevised
I would also like to know if in MVC 5 you can pass a list in this case consult with LINQ through t...
I have the following problem, I am trying to join several pdf files in 1, I have a pdf url list and the idea is to mix them in one.
I try this:
The string list has:
http://dlls.medezweb.com/resources/432714927725926.pdf
http://dlls.medez...
I have a project in ASP.NET MVC 5 in which when reviewing the cookies of my application there is one that is called ASP.NET_SessionId , which does not stop what it is and why it is created.
Does anyone know anything about this...
I want to raise the following question, I do not know if I am correct.
I generate a view in which you receive parameters to be able to generate a report and upload it as partialview the code is as follows.
[HttpPost]
[ValidateAntiForgeryT...
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...
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...
Can I make a constructor of my controller to instantiate the instances that I must consume from the models or methods of my application ?. How would it be?
Example:
My controller
public class MiControlController : Controller
{...