Questions tagged as 'asp.net-mvc'

0
answers

Error loading partialView

I have a somewhat curious problem. I created a page that lists records and it has two links, one to delete and one to display details. Both call a modal. Each modal is a partialView . The partialview that displays the delete mode is...
asked by 25.12.2016 / 20:44
3
answers

Limit for uploading files

I have a project in Asp Net MVC .NET Framework 4 as follows: View: <div class="file-content"> <label class="custom-file-upload"> <input type="file" id="importar-arquivos" multiple accept=".pdf" name="arquivo" re...
asked by 30.09.2016 / 14:52
1
answer

Problem when using jQuery UI in ASP.NET MVC

I'm trying to add the "ComboBox Autocomplete" of jQuery UI in my ASP.NET MVC project, but it says that the widget function is not a function.    jquery-3.1.1.min.js: 2 jQuery.Deferred exception: $ .widget is not a function TypeError: $ .widge...
asked by 08.12.2016 / 18:38
1
answer

Datetimepicker considering day as month

I have an inputText that I created for date, it is initially populated with a DateTime of my Model that is populated: @Html.TextBoxFor(model => model.Data, "{0:dd/MM/yyyy}", new { @class = "form-control input-md", @id = "datetimepickerDataF...
asked by 15.12.2016 / 12:28
0
answers

Error accessing external .js file

I have a page in ASP.NET MVC and within the Body tag I need by the following javascript: <script type="text/javascript" async src="https://d335luupugsy2.cloudfront.net/js/loader-scripts/4a756f5f-544e-4ae6-af72-956443dd4124-loader.js"><...
asked by 29.11.2016 / 12:56
1
answer

record does not update with EF

I have a rather annoying problem on the screen, I change the value of the field, and when saved, does not generate the error, and also does not save. The flow follows, as if there were no problems this object is so clientes.endereco I imple...
asked by 22.11.2016 / 02:11
0
answers

Is my cache being shared by how many pages do I have per session?

Good morning guys, so I created a class to handle the cache, but to open the site in the same browser but with different users, one takes the cache of the other. how can I restrict by "session" it? Thanks! Methods: public T GetKeyValue&...
asked by 24.11.2016 / 13:10
0
answers

Filter with two DropDowList ASP.NET MVC 5

I would like to make a filter with two DropDownList . In the first filter are filtered the Units registered and in the second the Functions registered in that unit, with their respective Employees. The end result would be the list of Emplo...
asked by 01.12.2016 / 18:25
0
answers

Handling a string in the view - asp.net MVC

I have a public string TimeUpdate { get; set; } in my model that is of the form "13-12-2016 17:12:09" . I need that in the view it only appears the hours and the minutes, how I can do the treatment of the field? PS: I've tried...
asked by 13.12.2016 / 20:21
0
answers

Angular http method: 'POST' is not sending the $ scope object

I have a problem in the http post method of angular, I have seen several tips but none works. Here is the code: $scope.cadastrar = function () { $http({ method: 'POST', url: '/MinhaConta/Cliente/PostAnuncio', data: $...
asked by 22.12.2016 / 02:22