Posts by Adriano Praia • 93 points
13 posts
-
1
votes2
answers781
viewsA: Load select city after selecting state
You can do the following, a function to pass the State Id to bring the cities of the same, see the example below where I pass the system id and load your categories: <div id="divSistemas"…
-
1
votes1
answer272
viewsA: Return list to ajax
I don’t quite understand your doubt. But, come on: Return a Jsonresult; Browse the product and add to the list that will return in JSON; Below was a solution I used here in the company to use…
-
0
votes2
answers409
viewsA: Jquery function to select tab with required fields not filled
Does not resolve by removing attributes from the element: $('#Salvar').removeAttr('type', 'submit'); $('#Salvar').removeClass('data-toggle', 'title'); $('#Salvar').addClass('disabled');…
-
1
votes2
answers89
viewsA: Select field with first blank item
From what I understand you want the first item of select to be white, you can do in the page load. $("#cbcategoria").append("<option id='option_cbcategoria' value='' selected>" + "" + "…
asp.net-mvcanswered Adriano Praia 93 -
0
votes3
answers172
viewsA: Modal Bootstrap window does not display styles in components - Asp.net MVC
Dude, there was a similar problem but using the datepicker and Select2 component, I added it in partial to solve this problem. <script> $(document).ready(function () { $('.select2').select2();…
-
-1
votes2
answers253
viewsA: How to save selected items at check from bank using AJAX, Jquery, and C# MVC?
I did a task very similar to yours weeks ago, at the time I had a checklist_attendance table where the user created Checklist linked to category and another checklist history that stored the options…
-
1
votes1
answer169
viewsQ: Partialview not clicking on the default of Select2
I’m having a problem when I call my Partialview, it loads all the data in the View but not in the right format (layout) of Select2, in case when clicking the input appears the data, is currently…
-
0
votes1
answer81
viewsQ: Very slow query to export in excel
I created a method to export a few columns to xls and it is very slow the process, it takes about one minute to do the whole process. public void Download(string datainicio, string datafinal, int?…
-
2
votes3
answers1008
viewsQ: Can I create a dropdown menu inside a a href?
In case I have a tag <a>, I can add just like a tag <ul> with <li> to create a dropdown menu <a href="out_denuncia.aspx" id="menuHomeMaster">Denúncia/Sugestão</a> or…
-
0
votes1
answer45
viewsA: Take data by url (string was not recognized datetime)
So it didn’t need any of this above, it was just that the server was in English format. So I added it to the project (webconfig): <globalization culture="pt-BR" uiCulture="pt-BR" />…
-
0
votes1
answer45
viewsQ: Take data by url (string was not recognized datetime)
I am passing an initial and final date per parameter (according to the image), as you can see in the localhost the bars (/) I am passing %20 and normally the generation of graphics occurs, but on…
-
0
votes1
answer517
viewsQ: Pass data to viewbag from controller to view using Chart.JS
I am trying to pass the data from a list to a viewbag, but it is not returning correctly in the view. My model and control: public class DataPoint { public String nome = null; public double y = 0;…
-
0
votes1
answer27
viewsQ: Message duplication in Chat at the time of the Webinar (client side)
Hello, I have a chat that at the time of the webinar to receive enough customers watching at the time of sending message, the same on the screen seems duplicated, but in the bank not saved…