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

1
answer

Google Charts with SQL Server

Hello, I'm trying to develop some graphics in an ASP.NET MVC 5 web application, regarding the development of the report, quiet, leaving with information fixed. But how can I integrate the graph with the information into a database table? I am usi...
asked by 06.12.2017 / 20:32
3
answers

Problem in running the Visual studio debugger

I have a problem with my project, I use ASP.NET MVC 5. From time to time I get this message every time I run my project, the problem is not the visual studio installed on the machine (
asked by 17.11.2017 / 14:49
1
answer

PartialView relationships asp.net mvc 5

I'm having trouble creating the logging logic of models that has relationships between them. One exists only the reference, but in the other, the reference is of the List < > type. I created a partialview containing only the field...
asked by 09.11.2017 / 15:27
1
answer

HiddenFor - Submit loses value the first time

Follow the code below: Index: @{ ViewBag.Title = "Home Page"; } <div class="modal fade" id="minhaModal" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog modal-lg" role="document"> <d...
asked by 05.10.2017 / 01:52
1
answer

Error executing a query with npgsql + dapper in postgresql

I can get my "user" object that has a "Login and Password" inside it, and when I run the function through my ORM, I get the following error message:    {"42883: operator does not exist: @ character varying"}. Could anyone tell me what mig...
asked by 30.08.2017 / 07:53
1
answer

Bootstrap class does not work with htmlhelper

I'm now starting to work with MVC, Razor, Bootstrap etc., and I'm having a design problem. These 2 textarea are using the same classes, everything is the same, except that in one I load value from my model , so I have to use html help...
asked by 06.05.2017 / 06:22
1
answer

Converting View Values to Controller

I need byte[]Descricao , when sent to my view , to display the text as string for the user to manipulate within TextArea , when I click in save I need to be converted back to byte[] to that Controller finds...
asked by 05.04.2017 / 03:03
1
answer

The ViewData item that has the key 'ManufacturerId' is of type 'System.Int64' but should be of type 'IEnumerableSelectListItem

I'm trying to develop an application in ASP.NET MCV 5. This snippet is returning this error message. @Html.DropDownList("FabricanteId", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.Fabrica...
asked by 27.03.2017 / 18:47
1
answer

How to pass parameter to Index of another Controller

I have to pass an (ID) parameter to the index of a controler, I tried to use ActionLink but it did not work. View: <body> <table class="table"> <tr> <th> @Html.Displa...
asked by 18.02.2017 / 14:53