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

2
answers

get value from @ Html.DropDownList in actionresult through formcollection MVC

I have an @Html.DropDownList that I filled with a List List with data already defined, the dropdown list is inside a form that is sent to the SaveConfiguration controller, I retrieve the data as a parameter to the FormCollection form controller...
asked by 22.03.2018 / 19:30
1
answer

how can I do so that I do not get numbers in my script when I retrieve information? MVC C #

The problem is as follows: I am using mvc in visual study, the problem is when I want to retrieve the information within a script which I do with an @foreach, where the information I send has quotes, which are then they change with numbers, whic...
asked by 21.12.2017 / 06:49
1
answer

Print ticket with JS or jQuery

I have a query system which prints a voucher with a query number and some additional information, all this is done with asp.net mvc 5 I had used PrintDocument () to print on the thermal printers of my clients but apparently The option of printin...
asked by 21.08.2018 / 22:22
1
answer

How to delete in cascade in entity framework asp.net mvc

Good afternoon, I have the following relational diagram I have a problem, when deleting a record from the table Tbl_Horarios does not leave me, because it is related to more than one record in the Tbl_DetalleHorario table. How can I...
asked by 12.12.2017 / 20:40
1
answer

Selection in table many to many MVC 5

Hello people, I am working on mvc 5 model first and I have 3 tables. -Roles -Roles Permissions -Permissions when creating the mapping of the database EF does not create the intermediate table (RolesPermisos) as it could make a selection of the t...
asked by 10.11.2017 / 15:23
1
answer

Telerik- How to use an Upload control as a cell editor in Grid?

I'm using controls for ASP.NET MVC from Telerik, I need to use a Upload control as an editor in a cell of a grid. The idea is to have a cell to write a description of the file and in the other cell the upload to select the file and at the end sa...
asked by 20.10.2016 / 01:30
1
answer

Help in saving image in SQL database MVC 5 and Entity 6.0

hello very good to all I come to you to ask for help that the truth is not how to solve it I created a CRD envisual studio 2013 that uses MVC 5 And entity 6.0 how can I upload an image from my CRUD created with MVC5 and save it in a sql database...
asked by 09.09.2017 / 21:49
1
answer

Upload XLS and save to MVC database [closed]

I have an excel file I need to save all your information in a database I'm working with c # mvc and javascript. And to capture the file I have: <input type="file" id="Upload"> I need your support. Thank you.     
asked by 22.11.2017 / 23:06