Posts by Vinícius Bastos • 313 points
13 posts
-
0
votes0
answers126
viewsQ: Error debugging with Docker in Visual Studio 2019 with Windows 10 Home: Current user is not in "Docker Users" group
Hello, I created an Asp.net Core MVC project on VS2019. Automatically, the first debug option is "Docker", but when I try to run, the following error is displayed: CTC1010 O usuário atual não está…
-
0
votes1
answer199
viewsA: angular 2 - Problem when calling directive
Most likely your problem has already been solved, but I’ll leave the answer to others who go through the same problem. A directive can only be declared in one module. This error message means that…
-
1
votes1
answer59
viewsA: WPF - Access Usercontrol of a selected Tabitem
I solved the problem! Below is an outline that demonstrates my solution: var tabSelecionada = (TabItem)TabControlMain.SelectedItem; var uc = (IInterfaceComGet)tabSelecionada.Content; var resultado =…
-
0
votes1
answer59
viewsQ: WPF - Access Usercontrol of a selected Tabitem
I own a Tabcontrol with several Tabitems, that I have separated the contents into Usercontrols to organize the code. But they all have a Textbox in common of which I want to get the value on a…
-
1
votes3
answers618
viewsA: How to make certain words within an editable div stay of one color?
As I mentioned in the comment, I don’t know what event you would use to call the function. But finding, an option is: when saving text, use replace with regular expression to insert span elements…
-
1
votes2
answers3847
viewsA: Is it possible to assign the default value of a property with an attribute?
public int Maximo { get; set; } = 10 // Somente na versão do .NET mais nova, não sei qual exatamente or, ugly but simplistic: public bool _maximoFoiAlterado; public int _maximo; public int Maximo {…
-
5
votes1
answer8798
viewsQ: Google Maps API 3 - Search address by zip code + number (geocode)
I have made in an application the display of points on the map from an address typed in form. I use the API v.3, javascript, and get the address using geocoder.geocode(x,y). I have followed the…
google-mapsasked Vinícius Bastos 313 -
7
votes1
answer2048
viewsQ: Simple form by Django
If I have in mine model a class usuario, a phones and a class manager, who are one to one, so: class Usuario(models.Model): login = models.CharField(max_length=50, unique=True) senha =…
-
0
votes2
answers150
viewsA: make a component in a Repeater get enabled=false
Like the other friend said, you need to do a cast. I tried to add as a comment on the reply but I still don’t have enough score for it (I’m new here). I believe his cast Exception occurred at the…
-
0
votes2
answers180
viewsA: How to copy a Repeater on the same page
Friend, Could solve your problem maybe if you put the Repeater inside a Usercontrol and used it in place of the current Repeater and inside <div class="modal-body">...</div>. This would…
-
3
votes2
answers1020
viewsQ: Does Netbeans support Django?
I installed the Netbeans and the plugins for python. Everything worked out, but I found what did not happen.This plugin alone would already support Django. I saw on this blog the author saying that…
-
1
votes1
answer115
viewsA: View help typing help c#
One option may be to define a method for ex: public string LerEntradaConsole() { string texto = Console.ReadLine(); if (!texto.Contains("help")) return texto; else { ExibirTextoAjuda(texto); return…
-
0
votes3
answers3850
viewsA: Elements with Css cut corners
I don’t know if it will help you, but in the corner where the cut is, try placing a div with a css similar to the following: .divCorte{ width:0; height:0; border-bottom:120px solid #666;…