Posts by Rafael Barbosa • 2,855 points
116 posts
-
1
votes1
answer204
viewsQ: Recovering Multiselectlist MVC values
I’m not sure how to handle the received data via MultiSelectList. Also, I can only select more than one option on View if I press CTRL. There is a way the user can click more than one value without…
-
2
votes1
answer503
viewsA: Because sometimes, when you add images to a page, if you mouse over it, does it move?
Come on, I’ll answer the basis of what I understand. The image of Slider received a zoom effect, increasing the scale in the :hover. Basically the image gets a zoom inside the div, say. If you…
-
1
votes2
answers192
viewsQ: jQuery Date "Invalid Date"
I have a countdown function that works regularly on Google Chrome var now = new Date(); var countTo = new Date("9 July 2015 14:30:00:00"); alert(countTo); $('.timer').countdown(countTo,…
-
4
votes1
answer415
viewsQ: Dropdownlist with unique MVC values
My class Galeria possessed a foreign key with Album as there is a 1-n ratio and each photo in the item Galeria owned respectively a Album. Given this, in the CMS I created I give the possibility of…
-
5
votes1
answer704
viewsQ: Datetime field view in View without part of Hours
With the code below I am recovering the Datetime with time past the date, what I would not like. cursos.Data = DateTime.Parse(collection["Data"]); I tried to format using substring inside…
-
2
votes2
answers13243
viewsA: Rotary Banner with Bootstrap
This is a simple way to apply the slider: Add this script: <script> $(document).ready(function () { $('.carousel').carousel({ interval: 3000 }) }); </script> In HTML you can declare…
-
2
votes1
answer1911
viewsQ: Jquery Navbar Fixed after scrolling
I’m wearing bootstrap and have a common navbar: <div class="navbar navbar-fixed-top"> <div class="container"> <button type="button" class="navbar-toggle navbar-default"…
jqueryasked Rafael Barbosa 2,855 -
2
votes1
answer286
viewsQ: Change DIV style according to FORM
I have the following application to login public ActionResult Logar(String Login, String Senha) { var bdUsuario = ClientesAplicacaoConstrutor.ClientesAplicacaoEF(); var usuario =…
-
5
votes1
answer1591
viewsQ: Working with Excel data in C#
I need to create an application that reads a small sequence of data available each in an Excel column. My question is whether the best way is to deal directly with SQL uploading the file and then…
-
2
votes1
answer2257
viewsQ: Subtract date to get countdown
I currently have the following code: var now = new Date(); var countTo = 50 * 24 * 60 * 60 * 1000 + now.valueOf(); $('.timer').countdown(countTo, function(event) { var $this = $(this);…
-
2
votes1
answer46
viewsQ: Which reference to import into Tableattribute?
I’m not getting my application to find the table tag. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Dominio { [Table("Loja_Carrossel")] public class…
-
1
votes3
answers4404
viewsA: Hide youtube link
You can disable Youtube options such as the header and footer with the logo and block the right-click action. Of course, even then the user will have access to the link via inspect element. Working…
-
1
votes1
answer325
viewsQ: Change password Student
In the student environment, they must change their password. I created the code below but can’t get results in the bank. Someone notices something wrong? [HttpPost] public ActionResult…
-
3
votes1
answer144
viewsQ: Best practice action result targeting
I need to direct the administrator to a location, the first-time student to another and the student who has already accessed, to another. My validations are working, everything is going well.…
-
2
votes1
answer4100
viewsA: How to make an element responsive
Why not use bootstrap in your project? With its structure, you can set the size and position of the columns for your project so that with the screen resizing/resolution change, your content adapts.…
cssanswered Rafael Barbosa 2,855 -
2
votes1
answer460
viewsQ: Receiving several Textbox values
Need to edit multiple records simultaneously, more specifically a list of students and load/edit from several textboxlinked to such. Basically I need to give/take their presence. How could you…