Posts by Iago Frota • 405 points
18 posts
-
0
votes1
answer44
viewsQ: About Blank Projects using git
We are looking to take advantage of a design model for our future projects. As if it were a Blank project. We were trying to forkar the projects, but it didn’t work out very well. Which solution do…
-
3
votes1
answer551
viewsQ: Open multiple programs on different desktop using script in windows 10
I’m wanting to open some programs on different work screens that I have to use frequently. And I was wondering how do I make a script to automate this. I made a simple little script. bat to make it…
-
8
votes4
answers1003
viewsQ: Problem saving a change using Entity Framework
I am trying to persist a change I make to a record but am getting this error: System.Invalidoperationexception: 'A referential Integrity Constraint Violation occurred: The Property value(s) of…
-
0
votes1
answer1402
viewsQ: Receiving System.Web.Mvc.Webviewpage<Tmodel>.Model.get returned null
I am getting a null reference error and do not understand why. Follow the error: System.NullReferenceException: 'Referência de objeto não definida para uma instância de um objeto.'…
-
0
votes1
answer470
viewsQ: POST problem using Jquery
I’m studying Jquery and I have a little problem to give POST in an API I have. Follows my html: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta…
-
1
votes2
answers225
viewsA: Problems saving a selected item in Dropdownlistfor using a Viewmodel
After much conversation with two good people at heart (Tiago Silva and LP. Gonçalves), we can understand the problem. The problem was how I was treating the Association Type to save and/or change my…
-
0
votes2
answers225
viewsQ: Problems saving a selected item in Dropdownlistfor using a Viewmodel
I’m trying to save a change I try to make by selecting a Category in a Dropdownlistfor. Kind of: I keep following the Debug and the View is sending the selected Category, but I am not able to…
-
2
votes2
answers1383
viewsQ: Pick up a selected item on Dropdownlistfor using an ASP.NET MVC Viewmodel
I am trying to register a Subcategory that needs a Category. I have Subcategoriaviewmodel, where I created the fields public IEnumerable<CategoriaViewModel> Categorias { get; set; } and public…
-
0
votes1
answer71
viewsQ: What implementation would I use to initialize the data in the database using 1:N relationship?
My intention is to initialize a SubCategoria, but she needs a Categoria first (1:N). I wanted to know which implementation I would use to make this relationship work to boot into the database? I’m…
-
0
votes3
answers934
viewsQ: I can’t post with Webapi
I’m studying Webapi and using Postman to test it. Doing some tests I realized that nothing comes when I send json using Postman to Webapi. I researched a lot about POST using Webap, but I don’t know…
-
0
votes0
answers115
viewsQ: Doubt with an error in Angular - angular.js:13550 Error: Could not resolve
I’m studying how to consume Webapi with Angular by this website. Everything was going well until I made this mistake: angular.js:13550 Error: Could not resolve 'stateOne' from state '' at…
angularjsasked Iago Frota 405 -
2
votes1
answer1093
viewsQ: Allocate search box in standard Bootstrap Navbar
I’m having trouble allocating a search box on bootstrap. I’m trying to allocate it to navbar standard, top right aligned. My intention is that at each screen, I can modify the parameters for the…
-
1
votes1
answer177
viewsQ: Search box ASP . NET
I’m having doubts in the creation of an item search box. I already say that I’m a beginner. I want when the user type a name in the search box to appear the items that contain the name that the user…
-
2
votes2
answers473
viewsA: Sync items in comboboxes at runtime
I managed to solve my problem! I used the event SelectedChanged in the Combobox that "commands" in the second. Now I am able to dynamically update the second Combobox. Follow the code: private void…
-
1
votes2
answers473
viewsQ: Sync items in comboboxes at runtime
I’ve been trying to figure out how to synchronize a combobox with another one for some time. I’m looking to synchronize comboboxes at runtime. When the user selects a category in the combobox,…
-
3
votes1
answer449
viewsQ: WPF Combobox - How to fill in using MVVM
I’m having doubts about how popular a WPF Combobox using the MVVM standard. Here at Stackoverflow there is a similar question to mine, however, has not been answered (I would like a brief…
-
2
votes1
answer266
viewsQ: Doubt with Entityframework (Migration)
I’m trying to make my code run, but I’m not getting it because of this Error Severity Code Description Project File Line Error CS0311 The type…
-
3
votes1
answer672
viewsQ: Dbupdateexception exception
I am trying to study EF with Code First. I am getting this exception on SaveChanges() An unhandled Exception of type System.Data.Entity.Infrastructure.Dbupdateexception occurred in…