Posts by Wise • 159 points
8 posts
-
4
votes1
answer682
viewsQ: Send only object from the list that has changed to the controller
I own a view who lists all my customers. Each customer has 3 checkbox where the user selects them, and sends them to the controller - through the button (Submit) - the data to change. The method is…
-
0
votes0
answers579
viewsQ: Get dynamically generated element id (Begincollectionitem)
I own a View, where I take the selected value in a DropDownList, I use this value in a query ajax and people another DropDownList with the return of the consultation. Until that part, all right.…
-
4
votes1
answer256
viewsQ: Convert LINQ to Dapper query
I have a LINQ query where I get the complete data. Because of performance, I am converting the query and using Dapper. I have the following entities: public class Cliente { public int ClienteId {…
-
2
votes1
answer256
viewsQ: Save value in variable
I’m using the jQueryUI - Sortable to change the positions of the data in a table. However, I need to save the starting position (the position the line was before dragging) and the final position…
-
0
votes2
answers494
viewsQ: Save data group in Post method
I’m using the Begincollectionitem to save a list of data in my add method. For that, I created a ViewModel with the main data to the list I want to save, in the method POST. I own the ViewModel…
-
0
votes1
answer28
viewsQ: Alternative to padding-nevative in table
I have a table, where I need to decrease the padding of the lines of the same. If I could use one padding-bottom: -XXpx; e padding-top: -XXpx; would solve my problem. However, it is not possible to…
-
2
votes1
answer338
viewsQ: Get URL value from a Dropdownlist
In my application I own a DropDownList that filters the search data. When filtering, it retrieves the value of the QueryString and save the value in the DropDownList (so that when changing page, the…
-
3
votes2
answers298
viewsQ: Convert Linq query to Dapper
In my application I have the following query: public IEnumerable<Cliente> BuscarClientePorAnoETipo(string ano, string filial, string tipoPrestacao) { var filialConvertInt =…