Posts by Lucas Roselli • 206 points
8 posts
-
2
votes2
answers733
viewsA: Format string in View
Renilson, another suggestion would be to create an extension class, that is, so you can create several methods extending the existing classes: For example, create a statistical class with a…
-
1
votes1
answer276
viewsA: How to get values to popular a dropdown dynamically
Depending on the complexity of your screen I suggest using Javascript for this, but then I made an example with a different alternative, to give you some ideas, I hope it helps you: Add the file to…
-
2
votes1
answer782
viewsA: Page effects with javascript
Leonardo, follow the example below that I implemented upon the Dirpagination directive: http://plnkr.co/edit/7kscCEXOFNBk4MTrnwcS?p=preview The only change I made was to add the Animated.css file to…
-
2
votes2
answers679
viewsA: Problems with Modal
I built this example, using Ajax.Beginform, however I had to change a little its scope, I put the image as the background of a button ( I believe the layout is not the purpose of your question ) It…
-
0
votes1
answer848
viewsA: Autocomplete shows no results in View input
It seems little, but try to remove the "," after the action $("#cliente").autocomplete({ source: '@Url.Action("GetClientesJson",)', minLength: 1 }); And you’re sure you added the jquery-ui with the…
-
0
votes2
answers475
viewsA: Is it feasible to use more than one Dbcontext for in the same database?
I especially only use more than one Dbcontext for different bases, summarizing create dbcontext for different bases, otherwise I see no need In some cases I see people creating more than one…
-
0
votes1
answer1642
viewsA: How to return to View items checked by Checkbox?
Unfortunately I especially find it bad to work with checkboxes and radiobuttons with MVC, but one of the ways I use this example to help you. Here’s an example I did using the MVC helpers: Control…
-
2
votes1
answer2360
viewsA: Filter data from a table through a Dropdown
I’ve put together a very simple example below. Using Partialview, Ajax.Beginform() and a little javascript only. Controller: public class FiltroController : Controller { public List<string>…