Questions tagged as 'asp.net-mvc'

1
answer

How to get a processed pdf on the server and display it in a browser window without downloading the file

Currently I have a pdf that has several sheets in a database stored path, and what I do is get a new pdf with a file from the server file and what I need is to show that pdf in a new window without needing to download the file, what I get now is...
asked by 24.01.2018 / 23:43
1
answer

Send value from actionResult to input

I'm trying to send a value from my controller to an input. I tried with the following code and it does not work, any suggestions? I'm sending you to call from an onclick. This is my code: public ActionResult Suma() { decimal suma;...
asked by 15.03.2018 / 23:10
1
answer

An error occurred during the compilation of a resource required to service this request / Models

Hi, I made some changes to this table in my database and now I'm having problems with my data model. Trying to get my data I got the following error. I understand that the error is in data model, now I must change it to be similar to my new t...
asked by 08.12.2017 / 19:34
1
answer

Links or Controllers

Design a web page, with boostrap, in fact download a template. I have a menu, Home, Us, Team, Contacts, etc. <li><a href="#about" >Nosotros</a></li> The problem is that this menu is part of the main template, _Lay...
asked by 18.12.2017 / 00:36
1
answer

AJAX execution

Gentlemen, I am in a question. I'm working with ASP.NET MVC and I'm running Ajax via post . The requirement is to load two grids with a Ajax for each grid. Strictly speaking, it would be something like that, Example...
asked by 13.11.2017 / 16:23
1
answer

Make input (textbox) appear, after selecting a certain item in a select MVC C #

Good morning, The idea is that when selecting an item of a select, I see 2 input for the information entry. Mvc does not work with runnat="server", nor can I use visible or disable (or at least I do not know how to use it). I use VS 2013, MVC...
asked by 27.12.2017 / 13:36
1
answer

How to keep the selected value in a select after the post back

Hi how can I pantener the selected value of a select after the postback?  this is the code that I have in sight: <select id="LocalidadId" name="LocalidadId" class="btn btn-secondary btn-block" asp-items="ViewBag.LocalidadId"> <opt...
asked by 23.09.2017 / 23:03
1
answer

KendoUI template for numbers

Good I'm making changes in Editor Number that brings KendoUI for Asp.net MVC but I can not get these reflected in the views, the properties are of type int , inclusive I put only a H1 only with a legend and even...
asked by 01.09.2017 / 23:05
1
answer

Jquery DataTable distorts table when reloading data

Here is the HTML table <table id="Tickets_Abiertos_table" class="table table-bordered table-hover table-striped"> <thead> <tr>...
asked by 04.08.2017 / 16:30
1
answer

Absolute URL from _Layout.cshtml

I am developing a page in which I upload images and PDFs, the problem is that I want to put for example when I select a PDF to see it, the url comes up with the full path to say it www.ejemplo.com/home/pdf/ejemplo.pdf , until now the image...
asked by 26.06.2017 / 16:49