Posts by Rafael Barbosa • 2,855 points
116 posts
-
1
votes1
answer75
viewsA: Sum ignoring deleted number
Resolved as follows var CountMes = 0; function DataTabela(mesInicial, Diferenca, Ano, pID, pValor) { if (window.location.href.indexOf("compromissoInserir2") > -1) { var Meses = []; var IDAtual =…
jqueryanswered Rafael Barbosa 2,855 -
0
votes2
answers484
viewsQ: Find input values with same class
How can I act to sum the values of inputs of the same class being that, the number of inputs does not have a standard, ie, can be that time the class p1 has 5 instances, hour 1. The structure would…
jqueryasked Rafael Barbosa 2,855 -
1
votes1
answer75
viewsQ: Sum ignoring deleted number
In my system, I dynamically send columns with dates based on a parameter received, building a table where in X I have products and Y I have the amount that comes in each package, date list in th…
jqueryasked Rafael Barbosa 2,855 -
0
votes1
answer43
viewsQ: Function calculation of month
I have a function that identifies the month through two entries, the initial month and also the difference that would be the maximum range of my array. At the same time there is another condition…
javascriptasked Rafael Barbosa 2,855 -
0
votes1
answer89
viewsA: Feeding codebehind list and displaying value in Asp
Solved Dim Valores = New List(Of ProdutosPedido) While readerCa.Read Valores.Add(New ProdutosPedido(readerCa.Item("X"), readerCa.Item("Y"), readerCa.Item("Z"), readerCa.Item("A"),…
-
4
votes1
answer529
viewsQ: Changing part of the text of a label
I have the following label created by a plugin <label> Buscar: <input type="search" class="form-control input-sm" placeholder="" aria-controls="Pedidos"> </label> What I want to do…
jqueryasked Rafael Barbosa 2,855 -
1
votes1
answer89
viewsQ: Feeding codebehind list and displaying value in Asp
I am for the first time having deeper contact with an application in VB.NET. In this case, I need to feed a list that I am 'turning into an object' and later, display it on my Asp. I’m usually used…
-
1
votes1
answer80
viewsQ: Apply style to first line after n
I have a textarea that had received a text. The style application will be minimal, so I didn’t want to use some editor like Ckeditor, for example. I believe the easiest way to work is to apply a…
-
1
votes1
answer934
viewsA: Slide of background images
With the code below you will get regularly $(document).ready(function () { $('body').attr('style', 'background:url(http://www.lorempixel.com/300/300) no-repeat'); }); var imgsArray =…
-
5
votes3
answers31765
viewsA: How do I place a background in a container in Bootstrap?
You can reference the class container and apply the prowess backgroundin it, for example: .container { background: #DDD; } In addition to color, you can apply responsive images, as in the example…
-
0
votes2
answers1117
viewsA: Take URL link and modify CSS
Try to use the code below, do not forget important jQuery before this script. I don’t understand the CSS line that display:block for the class flechaI because I didn’t locate this class in your…
-
1
votes2
answers8864
viewsA: Formatting date field with jQuery Masked Input
I’m using the mask in the contact of my platform here. I did the test by adding your input and with the script below, I ran it regularly on localhost. I tried to put the example in JSFIDDLE, but I…
-
2
votes1
answer155
viewsA: Width does not increase more than 283px Bootstrap
I reproduced your situation here in a test project and did not get the same error. Your form may be inheriting this width from some CSS or some jQuery function for example. Anyway, the line below…
-
3
votes1
answer107
viewsA: Error Login Asp.net MVC
From what I understand you’re trying to go through the list with that lambda, so the correct way would be to use the where. Also, for you to get a reception of this login, you could pass the…
-
2
votes1
answer66
viewsA: Image positioning
When you work with div, basically you have several support squares for content insertion, whether text or multimedia. In this case, there is a lack of height standardization and therefore the Divs…
-
2
votes2
answers585
viewsA: Error When Receiving POST in Paysafecard
I sent an email with each situation of the process of purchase and response of the Pagseguro server. With that I found that the problem was with the parole if (Result == "VERIFICADO"). Now the…
-
2
votes2
answers585
viewsQ: Error When Receiving POST in Paysafecard
I have a platform that makes purchases via Pagseguro form. The problem is that I’m only receiving the POST in which the StatusTransacao is as "Waiting for Payment", ie in the case of a billet…
-
1
votes1
answer61
viewsA: Problem with Slider
Check if you have any script with $(document).load(function()) or $(window).load(function()) and changes to $(document).ready(function()). Of course, just change the elements that match your…
-
2
votes2
answers57
viewsQ: Using [Foreignkey(")] - MVC
This is my domain using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Web.Mvc; namespace Dominio { public…
asp.net-mvcasked Rafael Barbosa 2,855 -
1
votes2
answers81
viewsQ: Reorder HTML structure via jQuery
I have the following structure: <div class="chosen-container chosen-container-multi" style="width: 300px;" title="" id="Promocoes_chosen"> <ul class="chosen-choices"> <li…
-
0
votes1
answer634
viewsQ: Methodology and Documentation for ASP.NET MVC Projects
In the company where I work I have always been free to develop the requested applications. I always worked in a unique way despite having a co-worker because, we both developed separate projects.…
-
0
votes1
answer53
viewsA: Storing Dataview values in a List
Resolved as follows: Protected Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click 'Obtem Códigos Dim MyConnection = New OleDbConnection(Conexao) MyConnection.Open() Dim…
-
0
votes1
answer53
viewsQ: Storing Dataview values in a List
I am doing the maintenance in a discount system of a customer, the same was already ready but not functional, only applied the validation of the discount if there was a single item. What I need is…
-
1
votes1
answer531
viewsA: Dropdownlist and Listbox - Recovering Values in Editing
Solved thanks to the help I received in the comments. View <div> Tipo de Curso <br /> @Html.DropDownListFor(model => model.TipoCurso.ID, ViewData["listTipoCurso"] as SelectList)…
-
1
votes1
answer531
viewsQ: Dropdownlist and Listbox - Recovering Values in Editing
In a CMS I own a DropDownList and a ListBox that work regularly in the field of registration, however, do not bring values in the field of editing. View <div> Tipo de Curso<br />…
-
2
votes1
answer72
viewsQ: Local Bank Storage Method
I have a local bank on my desktop, in it I developed an application using C# and Asp.Net MVC and thought it would only take the trouble to migrate to some MS SQL database when uploading the project.…
-
2
votes1
answer55
viewsQ: Background com Perdas
I am working with bootstrap and I have a high definition image that will be used as the background of an area. What happens is I have two problems: 1º My background has to adapt with losses to…
-
6
votes1
answer631
viewsQ: C# Mobile Development Need Mac?
I was researching tools for mobile development (iOS, Android) and came across Xamarin. I found the proposal interesting, especially for working together with Visual Studio. I downloaded and…
-
3
votes1
answer85
viewsQ: Question Area with Time
I am developing an application that should provide an environment where the following functions are executed: Administrator - Cadastra questions - Edits user - View responses - View evidence - I…
-
0
votes0
answers45
viewsQ: Several Migrations in the same Bank
We use the same MS SQL database for several applications. I am aware that such action is not recommended but unfortunately it is the method that will have to be applied. Work with code first and…
-
3
votes1
answer171
viewsQ: Controller Edit - Entering Values
My method responsible for editing is inserting values in the table CONSUL_EnciclopediasCONSUL_Promocoesinstead of editing. Therefore, if I have the options x with id=1 and y id=2 within the course…
-
0
votes0
answers383
viewsQ: Mysql Connector MVC
I installed Mysql Connector and local I was successful, I was able to make the connection and even do my Migration. However, after giving Publish in my project and go up in FTP, I am encountering…
-
1
votes2
answers1334
viewsA: How to automatically scroll to the top when viewing the page footer?
Declare this variable before the function: var counter = 0; Add to that: $(window).scroll(function() { if($(window).scrollTop() + $(window).height() > $(document).height() - 100) { if (counter ==…
-
4
votes2
answers406
viewsQ: Error Mysql Connection Asp.net MVC
I am trying to work with a Mysql database in my application. However, I am getting the following error: Keyword not supported: 'data source'. I performed all the procedures related in this question…
-
3
votes1
answer94
viewsA: Correct declaration in menu listing CSS
Felipe, Every time you treat just one element, you can use the ID. Being a group to which will be assigned a common element, ai you use Classe There is the TAG nav which I use to generally structure…
cssanswered Rafael Barbosa 2,855 -
1
votes1
answer91
viewsA: Map Routes works only default
Your two routes are pointing to the same Controller and Action. See the following route mapping model I found in this question here context.MapRoute( "Comment_default", "Comment/PostMsg", new {…
-
3
votes1
answer100
viewsQ: Dynamic image and SEO behavior system
I did a reading on SEO and understood that the higher the text traffic, you have more content to be indexed by Google. I have an application that is based on images, is practically a…
-
6
votes2
answers83
viewsQ: Responsibilities of the View
Throughout the internet, I find posts warning about the responsibility of View that should only take care of its name and display the content. Although MVC is based on exactly the distribution of…
-
5
votes4
answers28473
viewsA: Align text after image
While you treat the text as a single string, no space. Naturally your code will not partition the content and consecutively will not suit the basis of a width. I imagine, you won’t have a single…
-
2
votes2
answers3732
viewsA: Mouse over image to show information box
Your question was somewhat broad. With the code below you could have the functionality of a hover give visibility to an element. CSS .lightbox{ display:none; } HTML <a href="#"…
-
9
votes3
answers1277
viewsA: Differences between Padding and Margin
The main difference is that: the padding reserve space for the element; to margin just define the spacing and design the element itself or one with which you have contact. That is, if you apply…
androidanswered Rafael Barbosa 2,855 -
2
votes1
answer450
viewsQ: Change URL Ajax Partialview Request
I need to change the URL of the page according to the Partialview that I load via Ajax. @EDIT In addition, I also need to free direct access to Partialview via URL, but, bringing with you the page…
-
1
votes4
answers95
viewsA: Add a "pass" limit to a Carousel slider
HTML <button class="date-nav-prev">< Prev</button> <button class="date-nav-next">Next ></button> <div id="wrapper"> <div id="slider"> <div…
-
0
votes3
answers17687
viewsA: Get HTML and JS database connection
Communication cannot be handled without the use of a Web Service. I noticed in your last question (which you deleted), that you are trying to work with Worklight, so I suggest you that reading…
-
1
votes2
answers384
viewsA: Create menu type, but with (+) sign (Treeview)
You can use the .slideToggle() in jQuery in the product name. Treating the list of medicines with a foreach, you can take the ID of the product and associate to a component to display via jQuery by…
-
3
votes1
answer367
viewsQ: How to make Footer stay in the footer after using AJAX?
I have done several applications and always used the method below to regulate the height of footer. Always using Bootstrap. HTML <div id="footer"> <div class="navbar…
-
3
votes2
answers393
viewsQ: Load Only part of the Site by clicking Actionlink
I own the following ActionLink in my MasterPage. <div class="areaRetangulo"> <div class="col-lg-3 vermelho retanguloTamanho primeiraImagem"> <div class="triangulo…
-
5
votes1
answer79
viewsQ: Change Element mouseover/mouseleave
I’m trying to change the src of an element using the property attr in the mouseover and then on mouseleave. The idea is to change a banner while the mouse is under an element and update again after…
-
8
votes2
answers539
viewsQ: Entity Framework - Bank Compatibility
I was reading a article that demonstrates the method of using the Entity Framework for connection to Mysql database, however, the article demonstrates techniques quite different from the ones I use.…
-
1
votes1
answer61
viewsA: Search in checkbox list
You can do this using jQuery only by applying the id search-criteria in your research box. Apply a class to your div father, in case I will use the class test. Put the names of individuals inside…