Questions tagged as 'mvc'

1
answer

Calling a PageMethod with ajax from a WebForm within an mvc project

I would like to know why this "404 (Not Found)" error is flagging me when I try to call a WebMethod with ajax from a WebForm or aspx, now the detail is that the webform is inside a Mvc project I do not know if it has something to do I leave t...
asked by 26.12.2016 / 18:36
0
answers

Problem generating files within a ZIP

I have generated this method with the parameters brought from my database management class, the problem is that I can generate my ZIP file without any problem but I do not have any html file. public static string Execute(Models.ReportTibaTime...
asked by 05.12.2016 / 15:53
1
answer

MVC - Return View (Model) when I make a POST

I have the following problem. My Controller has 2 Functions. This: <AllowAnonymous, HttpGet> Function Register(urlBack As String) As ActionResult Try Dim DBIvas As New BLIva() Dim DBProvincias As Ne...
asked by 29.11.2016 / 22:30
0
answers

Visual Studio 2015 - Generate UML diagrams of an entire MVC project

I have a MVC5 project in Visual Studio 2015 Enterprise, I wanted to know if there is any way to generate an entire UML modeling project for my MVC project, something like right click the MVC project and generate a UML modeling project, and from...
asked by 30.11.2016 / 16:21
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

How to get an image from a vbhtml view

Dear, how can I get an image from a vbhtml view in this format: @Html.LabelFor(Function(m) m.FchNacimientoPER) @Html.TextBoxFor(Function(m) m.FchNacimientoPER, new With {.class="form-control"}) I want to get the image as an...
asked by 25.11.2016 / 20:32
0
answers

How to update a partial view that is within a normal view

I have a partial view that should show data that comes from the BD, this partial view is within a normal view, what I need to know is how I do so that when the main view action returns the data, the view partial also get data and be updated. Thi...
asked by 25.11.2016 / 20:08
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
0
answers

Image Management MVC VB.NET

Good, I need a helper that allows me to preview an image that I want to upload, the problem is that it does not show me the preview. I show you my code: This is my helper Imports System.Runtime.CompilerServices Imports System.Web.Mv...
asked by 21.11.2016 / 19:27
1
answer

Routing is lost when the driver loads

I am doing tests with MVC in PHP, and I am having problems when it comes to routing to another controller, by default there is a controller and method (action) assigned in case of not finding what was received. The problem is when including t...
asked by 11.09.2016 / 14:15