Posts by Eduardo Silva • 222 points
9 posts
-
1
votes3
answers185
viewsA: Update to 2 tables
If you don’t need to get the data in the database before making the change, you can perform Attach before you make Savechanges, in some cases this is very good to avoid I/O’s. //código que cria…
-
1
votes1
answer764
viewsA: How to get value and id within TD?
Take a look at this example and see if this is it: http://jsfiddle.net/yb4pwapp/
-
3
votes3
answers2089
viewsA: How to implement business rules or system rules using Domain Driven Design in C#?
This example is a little tricky to put in your domain class because you would have to have two password properties in your class, which would be weird. In that particular case you could put that…
-
2
votes3
answers4238
viewsA: Jquery take the first and second tag inside a div
That solves $(function (){ $("#shipping_table input:eq(0)").click(function() { alert($(this).val()); }); $("#shipping_table input:eq(1)").click(function() { alert($(this).val()); }); }); <script…
-
0
votes3
answers446
viewsA: Could someone explain to me the term "Specification Pattern", applied in Javascript?
There are several Design Pattern that serve to improve in some way conditional structure. In their example codes I believe that Pattern but it suits to bring a better intention of these structures…
-
0
votes2
answers257
viewsA: Event click is lost on the next page in the pagination
I took your code and put it in jsfiddle (only the relevant part of the pagination) and it seems to be working: https://jsfiddle.net/kgacc46u/…
-
1
votes2
answers829
viewsA: Asp.Net MVC Validators passing through the controller
Validations that are performed on the client with ASP.Net MVC use Jquery Validation (https://github.com/jzaefferer/jquery-validation). In this case, simpler validations as required for example can…
-
-2
votes1
answer49
viewsA: Select the Textbox value
I believe that the simplest solution is to do this via javascript. Take a look at this link: https://stackoverflow.com/questions/4067469/selecting-all-text-in-html-text-input-when-clicked Here’s an…
-
3
votes4
answers754
viewsA: String Array Printing in a Single Messagebox
Another option would be the following var dataTransacao = new string[] {"01/01/2015", "02/02/2015", "03/03/2015" }; MessageBox.Show(String.Format("Datas de transação: {0}", String.Join(", ",…