Posts by Marcelo Henrique Dos Reis • 189 points
25 posts
-
2
votes1
answer250
viewsQ: Leave some input select Multiple(Angular Material) pre-marked
I am using Angular Material in my application, and it in turn has this list created to fill in my input: lista: any[] = [ { name: 'Cursos', tribunais: [ { value: 'RDC1'}, { value: 'RDC2'}, { value:…
-
-1
votes1
answer117
viewsQ: Problem when requesting API using Xmlhttprequest
I am developing a system in pure Javascript. (Yes I want to do, even knowing the limitations rsrsrs) However I can’t access the API as it generates the following error when I do some request for…
-
3
votes2
answers5045
viewsQ: Close modal when you click the button
Hello, I have this following modal, whenever I click on the button "Refused sale" it opens, however I wanted to close this same modal every time he clicked on the button "Send", that in the case is…
-
0
votes1
answer1045
viewsQ: Download a file generated in the backend by Angular2+
Hello, I’m having trouble downloading a file generated by backend in my angular project, I have the following method generateXlsx(obj) { let headers = new Headers(); let token =…
-
0
votes1
answer40
viewsQ: How to limit subscribe to just one loop
I need to display an Alert every time my main Component changes route, so I created the following script in my AppComponent: constructor(private router: Router) { router.events.subscribe((val) =>…
-
0
votes1
answer1120
viewsQ: Deselect Radio Button from Angular Material
Hello, I have a problem at Angular. I want my Angular Material button select to be unchecked (uncheck) when the following function is called, but I have no idea how to do it, can anyone help me.…
-
2
votes1
answer1085
viewsQ: Problem running ng build Angular
Hello, I’m having trouble in Angular when I run the following command to building in the project directory ng build --prod --aot=false, how do I fix the problem? What and why is this error…
-
0
votes2
answers2054
viewsQ: Format Angular Date
Hello, I have the following string: Tue Oct 16 2018 00:00:00 GMT-0300 (-03) And I wanted to format it into dd/mm/yyyy and my goal is to stay 16/10/2018 How I would have to do this formatting…
-
0
votes1
answer381
viewsQ: Take Angular Datepicker value
I wanted to take the value of data picker in my component.ts angular. It follows my code data picker: <div class="form-group col-md-6 form-md-line-input" style="margin-top:-95px;">…
-
0
votes1
answer38
viewsQ: Warning error: include PHP
You know what could be the cause of the error? my route code: <?php class Rotas { private $telaAtual = "primeira"; public function getTelaAtual() { return $this->telaAtual; } public function…
-
-1
votes2
answers707
viewsQ: Exchange value of a variable of another Angular component
Hello, I have a Component that is called errorLog, inside it has a method called Logout, which is called when I click on 1 logout button, but after displacing you and redirected the login page,…
-
0
votes2
answers1198
viewsQ: AJAX Javascript loading message axios
I’m making an AJAX request using the Github API from Axios and wanted to know how I do to, while uploading the information, it give a console.log('carregando'); and create a component written…
-
0
votes1
answer149
viewsQ: Add javascript variable in CSS class
I need to insert into this following CSS class: .bola { width: 50px; height: 50px; border-radius: 25px; position: absolute; } the variable var corBola =…
-
1
votes1
answer94
viewsQ: Error creating XML with Xmlwriter
I need to create an XML, but when I try to create 2 error elements, how do I generate 1 XML with two elements? follows my code class Program { static void Main(string[] args) { using (XmlWriter…
-
0
votes1
answer98
viewsQ: C# List Console
How do I display only the third values of the list, in case the ("500, 900, 2000, 1500, 2000). And how I do this same process to display only the third values of the list that has associated the…
-
0
votes1
answer522
viewsQ: React Native and hybrid?
I was wondering if React Native and really hybrid, like Ionic, that you program a code only and export to the two platforms (IOS/ANDROID), or and similar to Xamarin, that you make the 2 different…
-
0
votes1
answer52
viewsQ: View select ASP.NET Sqlserver
I’m maintaining 1 controller and I’m taking the data from my database and trying to display it in the view, however I can’t pass select to the view, can anyone help me? i need to pass all select…
-
0
votes3
answers2989
viewsQ: Problem when initiating visual studio solution
I want to open this solution but I can’t, someone could help me solve this mistake?…
-
1
votes1
answer799
viewsQ: Send view to controller values by jquery
I am making an application in . Net C#, and wanted to do an input and a button that sends the information to my controller for jquery/ajax, and I have no idea how to accomplish this, I need to pass…
-
-1
votes3
answers380
viewsQ: Print a string with only numeric values
I’m doing a show in console where the user enters some codes, and I want to print this code back to him just when he gives enter. But I wanted to print only the number values and ignore the…
-
0
votes0
answers58
viewsQ: Zxing Colorful . net
I need to create a color qrcode using zxing.net however I can’t and I can’t find 1 tutorial on the internet even searching and trying for days, Does anyone have any idea how to develop 1 color…
-
0
votes1
answer96
viewsQ: How do I display all the columns of my BD Asp.net mvc
wanted to know how to loop when printing the columns of my grid with the values of the database, but it displayed only 1 result even the database being huge, here the code, thanks for the help…
-
3
votes2
answers1011
viewsQ: Return with 2 C#Values
I want to give return of two values in c#. My code is like this currently, just returning the imagePath, but I want to return the imagePath and the normalPath at the same time. string imagePath =…
-
2
votes1
answer1324
viewsQ: Crop css image
I wanted to finish cutting the image in css completely and remove all edges, but I can only cut at the bottom and right side. I wanted to know how I could do to cut through, here’s the code I’m…
-
1
votes1
answer64
viewsQ: Run query without foreach
As I do to execute this code without foreach,it is completely empty and is only serving to give value to the attributes, so it is not listing anything, and I wanted to make the code cleaner and…
phpasked Marcelo Henrique Dos Reis 189