Questions tagged as 'asp.net-mvc'

0
answers

Help in layout of ItextSharp MVC with C #

Good afternoon I have not been able to find a solution for days, and I would like your help, I am putting together an MVC report with ItextSharp and I am not able to do a layout of a receipt if someone can help me in HTML I thank you. layout...
asked by 10.11.2018 / 16:53
0
answers

Update data that has many-to-many relationship with Entity Framework

I'm trying to update an object and the only thing that does not update is its relationship from many to many the rest as first and last name update [HttpPost] public IActionResult AtualizarProfessor(int id, string nome, string sobrenom...
asked by 10.11.2018 / 17:58
0
answers

Switchery component does not work in a PartialView - Asp.Net MVC

I'm having problems with the data-plugin switchery (Remark bootstrap component) that does not want to work in partialviews. The interesting thing is that if it stays inside a normal view, it works perfectly, but when placed inside a modal window...
asked by 15.11.2018 / 14:38
0
answers

Error creating ADO.NET Entity Data Model file

Good morning, I am trying to create an ADO.NET Entity Data Model file, with connection to the MySql (Workbench) database, however or from the error, or the Entity Data Model screen closes. So I have two scenarios: 1) I create my MVC projec...
asked by 06.11.2018 / 16:25
1
answer

Error trying to save image Asp .Net MVC

Good morning, I'm trying to open, resize, and save an image again through an ASP.NET application, but I'm getting an error when the image will be saved. Here is the code that is giving error: public void MudarResolução(string nome) {...
asked by 06.11.2018 / 12:33
0
answers

Field? null is not sending if it is empty

I have this field: <label asp-for="TransportadorID" class="col-md-3 control-label" style="text-align:left;"></label> <div class="col-md-2"> <input type="text" asp-for="TransportadorID" o...
asked by 12.11.2018 / 17:14
1
answer

Load from within the partialview js / css

Good morning, insira o código aqui I can not load .js / .css when loading partialview no layout <!DOCTYPE html> <html> <head> ... @RenderSection("header", required: false) </head> <body>...
asked by 04.11.2018 / 15:33
0
answers

Programming logic. Asp.Net Mvc

I'm trying to create an e-commerce. Where I have a product, this product may have several different colors and sizes, for example: I have an X product. Of this product X I have a total of 50 in stock. of the 50 that are in stock. 20 são Amarel...
asked by 03.11.2018 / 20:10
0
answers

Preload loader for Views in Asp.Net MVC

How to make Asp.Net MVC have the feature while loading the page has a Load image and after loading all the content. I need this feature in Asp.Net MVC because this application is loaded in a WebView Xamarin Forms, and I realize that I must ha...
asked by 31.10.2018 / 22:17
0
answers

Open modal passing data from an item clicked on grid with ASP.NET MVC

I have a grid and clicking on it I want to open a modal to display the data according to the item that was clicked on the grid. But my modal opens and closes alone and neither is passed the values to it. is as follows. Code in View: <div...
asked by 31.10.2018 / 16:14