Posts by Douglas Fernandes • 361 points
11 posts
-
1
votes1
answer145
viewsA: Error opening Package Manage Console
Run this command to update the package: Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform
-
0
votes2
answers943
viewsA: Send to filled model controller
You can use the Ajax.Beginform MVC native to do ajax post. View @using (Ajax.BeginForm("Salvar", "AcosInternos", = new AjaxOptions( HttpMethod = "POST"))) { //Renderizar campos } On the controller…
-
1
votes2
answers145
viewsA: Quantity of items aligned vertically according to height of div
You can use Flexbox for this, I think the main problem is compatibility with older browsers, because these functions will only work on IE11+ References: Source and other example Flex Wrap Flex…
-
5
votes3
answers1541
viewsA: Angularjs Format date
You can use the date filter angular. Editing to change the Data format in the Controller Example: var app = angular.module('myApp', []); app.controller('datCtrl', function($scope, $filter) {…
-
1
votes1
answer805
viewsA: Controller returning partial view in a modal
I don’t know if you’ve solved this yet, but one generic way to resolve this issue is by using the Request Headers. In your partialView Controller you do your validations and add the URL of the error…
-
0
votes4
answers1566
viewsA: ASP.NET MVC input number
I think you need to change the configuration of Globalization in the application web.config, for the modelBinder to work properly, look for the tag <configuration> ... <system.web> ...…
-
7
votes5
answers14272
viewsA: Add all the latest changes to the commit in git
You can use: git add -A
gitanswered Douglas Fernandes 361 -
2
votes1
answer803
viewsA: Use jquery.validate to validate image dimensions
To do this you need to create a custom validation, follow an example: function readImage(file, element) { var reader = new FileReader(); var image = new Image(); reader.readAsDataURL(file);…
-
0
votes3
answers4737
viewsA: Capture text within a <td> via jQuery
I don’t know what the rest of the HTML structure looks like, but a code like this solves for the case presented: $("td.monetary").text(); By the structure it seems that you are using knockoutjs, if…
-
1
votes1
answer70
viewsA: Manage iframe activity
Using jQuery, you can catch through the following code. $("#IFrame").contents() So you can have access to the content. But this will only work if both sites (yours and iframe) have the same Origin…
-
2
votes2
answers3542
viewsA: Compare with earlier date in oracle
to_date expects to receive a char, if your field is of type Number, then you need to parse number to char first. select * from carros car where…