Posts by osmarditto • 45 points
7 posts
-
0
votes0
answers8
viewsQ: Page.Loadcontrol does not load the controls
I am using the Page.Loadcontrol() method to initialize an instance of a control by sending a parameter in the constructor. The instance is created, but the controls present in the file . ascx are…
-
3
votes1
answer48
viewsQ: Unable to initialize a generic object with inheritance
I’m having a hard time accepting an inherited class as a generic class type. public class Teste { private void Testando() { var dog = new Cachorro(); dog.Nome = "Toy"; dog.Patas = 4;…
-
0
votes2
answers57
viewsA: Consume a JSON result (beginner)
I got it, but I couldn’t get it using anonymous class. Follow the result. [Route("teste")] [HttpGet] public IHttpActionResult Teste() { var result = Index(); var contentResult =…
-
0
votes2
answers57
viewsQ: Consume a JSON result (beginner)
Hello, I have a very simple test. A method returns a JSON(), but how I access the values within this return? In the Test method I would like to use some value of the returned JSON. Could you help?…
-
0
votes2
answers249
viewsQ: C# API Routes (Beginner)
I created a new project like: ASP.NET Web Application - WEB API I created a new controller, however, I’m not being able to differentiate the ACTIONS. If I have more than one method of type GET, at…
-
0
votes0
answers98
viewsQ: Integrating C# projects with VB
I need to create a C# project that uses a DLL that was written in VB.NET. I added the dependency, imported the library and used the method. However, at the time of execution when I will consume a…
-
1
votes1
answer33
viewsQ: setOnClickListener loses the default animation
When setting the setOnClickListener to set the action of an item in my listview, the default animation of the click in the list is lost. I’d like to keep up the excitement and run my routine.…