Posts by SirSmart • 161 points
12 posts
-
-1
votes3
answers50
viewsQ: Passing array parameters to array
I need to search within 2 arrays according to the parameter passed by the first array, example: I need to scan the "profiles" array by picking each id and searching the other two: const profiles = […
javascriptasked SirSmart 161 -
1
votes1
answer217
viewsQ: How to Install Appium
I’m trying to instate the Appium in Android Studio, but I’m not sure how to do it. How can I install the Appium in the Android Studio ?
-
0
votes1
answer99
viewsQ: Collection of objects c#
Galera need to fill a list that is inside another list, but is giving error. Follows the code: Promotora = new LojaPromotoraInfo { CodGerente = DBUtil.GetValor<string>(oRow, "CodGerente"),…
-
1
votes1
answer416
viewsQ: Injection of MVC dependency
Galera I’m using dependency injection to use the Mock. I wonder if I need to create an interface for my Model and one for my Controller? Thank you
-
2
votes0
answers64
viewsQ: Using Moq with MVC Dotnet
I am using MVC4 with Moq and would like to know how to mock mine Model also and if this is possible. Thank you.
-
0
votes1
answer252
viewsQ: Ajax paging via server
I need to make a pagination via server only via Ajax. Below I’m posting the grid how I’m doing, but I need to get the dynamic values and do not know how to do, follow the grid function…
-
4
votes4
answers1297
viewsQ: Download excel file
I created an excel file, but now the user needs to download, how can I do ? follows my method : public PartialViewResult ExportarParticipantes(int idPeriodo) { Regex reg = new Regex("[/ :]"); //…
-
-1
votes0
answers70
viewsQ: On-screen message with ajax and jquery
I have an approval system and need to display a message to the user every time they click the Approve button. How can I do it ? My code is that way: Controller: [HttpPost] public PartialViewResult…
-
1
votes5
answers5718
viewsQ: Popup with AJAX and jQuery
I need to open a popup with my database information, when you click on a certain item in a grid that I’m displaying on the screen. How do I display this popup?
-
-2
votes1
answer179
viewsQ: Collection does not allow foreach
I have a collection and inside I have another collection of images. I need to do a chained foreach to get information from the first collection, and then the second foreach to get the images I have…
-
1
votes2
answers222
viewsQ: Creating a collection
The two images are as mine array is. In the first image I have an array with 3 items, being the first of the month of April and contains 4 passages. For each passage I have the respective…
-
-3
votes1
answer365
viewsQ: jQuery function does not work
I’m doing a function with jQuery, but it doesn’t work, IE, it doesn’t reach my controller, someone could help me please follow the code: var Aprovar = function () { $.ajax({ url:…