Posts by Alan Almeida • 633 points
30 posts
-
1
votes1
answer723
viewsQ: Get Return of Procedure on Oracle
I need to run a database (Oracle) that returns me a character (S or N), I’m using the ODP.NET driver, I tried everything and could not do it, including I looked at several answers right here in S.O…
-
0
votes1
answer468
viewsQ: How to insert an object and a list of objects in the same request
I have a supplier object, and each supplier has several contacts, on the page, has a tab for the supplier registration, and another tab for the registration of contacts, the contact registration tab…
asp.net-mvc-5asked Alan Almeida 633 -
0
votes1
answer531
viewsQ: Link in Datatables table
I need to create a link where I have the input name in the table using Datatables, this link should call a javascript function. The problem is that when the table is loaded it executes the script…
-
0
votes1
answer45
viewsQ: Doubts of systems architecture
Good afternoon, I have to change the company’s system here, and it’s gonna get more complex. We are a builder every work we work is previously budgeted, when the buyer will add an order, the system…
-
3
votes1
answer148
viewsQ: Controller dependency injection with Ajax
Good afternoon, I am using ASP.NET MVC 5 with Windsor and when an Ajax request calls a method in the controller, the error informing that the controller has unsatisfied dependencies. How do I work…
-
0
votes3
answers115
viewsA: Vertical side menu up to the thin page
I solved my problem based on the answer of Paulo Mendonça, he put in my comments a link to a side menu that was what I needed, and it was done with Bootstrap, so I took the code and CSS of this…
-
1
votes3
answers115
viewsQ: Vertical side menu up to the thin page
I need to leave a side menu from the beginning until the end of the page, no matter how many items the menu has, for example, if I have a menu with 3 items the background color of the side menu ends…
-
1
votes1
answer122
viewsQ: append com jquery
I have a table that opens in a pop up for the material search of a material request registration, on the page (without being the pop up) has another table that when I add a material that was…
-
3
votes2
answers738
viewsQ: Create a link that when clicked caught your text
I have a table that has the Material ID and the Name, the name is a link, I need to make when I click the link it takes the ID and the name puts it in a text field in the folder. The table is…
-
3
votes1
answer893
viewsQ: Position the cursor
I have a function with Jquery that leaves the text of the textbox in uppercase, the problem is that when I have a mask in the field, after typing any character, the cursor goes to the end of the…
-
2
votes2
answers4895
viewsQ: Pass parameters to the Controller via @Html.Action
I need to render one View into another, but this rendered View needs to receive and display data from the database, so I’m going to use @Html.Action for this, but I need to pass a parameter to the…
-
2
votes1
answer235
viewsQ: Implement Interfaces
I have the abstract class ClasseA and 2 child classes ClasseB and ClasseC, then I have an interface IClasse which is implemented in ClasseA and ClasseB. In the interface I have the method metodo1…
-
0
votes0
answers181
viewsQ: Doubt about use of virtual directory in IIS and filetable
I need to store files in one FileTable. As I do not know the local path where the files that are in FileTable stay, I peed the network path of the directory of FileTable, and thus access the…
-
3
votes1
answer677
viewsQ: Problem storing decimal values in SQL Server
I have a decimal field (18, 3) and in the application I use a Javascript plugin to format the entered values, so I pass the value so SQL Server 45.000.000.000, when I look at what was registered was…
-
1
votes1
answer289
viewsA: Render Webform in ASP.Net MVC
As I could not render by the controller, I found that it is possible to call the report hosted in Reporting Services with Javascript. javascript: void…
asp.net-mvcanswered Alan Almeida 633 -
1
votes1
answer289
viewsQ: Render Webform in ASP.Net MVC
I need to call a Webform from an Action on controller, I read a lot on the internet but I couldn’t make it work. I followed the example at that link, where you ask to exchange your Webform…
asp.net-mvcasked Alan Almeida 633 -
4
votes2
answers658
viewsQ: Report is not displayed in Report Viewer when you pass parameters
I am trying to display a report, but when I pass the parameters via code it does not load the report, if I let it open the browser and pass the parameters at runtime works normally. Code of the…
asp.netasked Alan Almeida 633 -
1
votes1
answer7307
viewsQ: Check items from a list in another list
I’m having trouble making a method to check two lists. This method will receive a list which is the list that has been added to the order and the Purchase Order Id to which that order has been…
-
1
votes2
answers1061
viewsQ: Take a Textbox value from each row within the table with Jquery
I have the code below that picks up should take the values of a Texbox within a table that is generated dynamically by another Jquery function. The problem is that this code always brings the…
-
3
votes1
answer501
viewsQ: Run jQuery function in dynamically generated table after an AJAX
I need to execute the function below, after the AJAX request it has to remove the row from the table, if I put the code that removes the direct line in the function it removes the line normally, but…
-
0
votes1
answer1248
viewsQ: How to retrieve content from a cookie
As I do to retrieve the content of a cookie, this cookie has the ID of the material that will be requested and the amount, I need to recover to enter in the bank. I’ve searched the Internet a lot,…
-
1
votes2
answers499
viewsA: How to make the server return a page without the browser request
I solved the problem with Ajax.Beginform, where the request is sent via Ajax and I mark the content of a div to be copied to another after the action of Ubmit, so I can make the content of a hidden…
asp.net-mvcanswered Alan Almeida 633 -
1
votes2
answers499
viewsQ: How to make the server return a page without the browser request
I have a registration screen that should be validated by various business rules, when the user does Submit I wanted to leave a page with a message for example, "Validating, wait". I tried to do this…
asp.net-mvcasked Alan Almeida 633 -
3
votes2
answers14405
viewsQ: Run Javascript function in event by clicking a button inside a table
Good morning, I have a table and in each row of this table I have a button, when I click this button I need to run a function but I’m not able to do it because I think I don’t know how to use the…
-
3
votes1
answer419
viewsQ: Doubt about static methods and classes
I have a question about methods and static classes, given the code below: static List<MaterialRCM> mr = new List<MaterialRCM>(); [Authorize] public void AddMaterial(int Qtd, int Id) {…
-
3
votes1
answer331
viewsQ: Add Textbox inside an HTML table with Jquery
I have the Jquery Script below that searches a Material and returns a Json list of that materials, I need to put this data in a table and put a field for the user to enter the amount of these…
-
3
votes2
answers2419
viewsA: Query with related data in the Entity Framework
Diego and Gypsy Morrison, I found the error: it was an error in the table of Unidade in the database. By default the Entity Framework will do the Inner Joins for the browsing properties, in my case…
-
2
votes2
answers2419
viewsQ: Query with related data in the Entity Framework
I am trying to bring data of the materials with the data of your relationships with the Unit and TD tables, but this code below does not return anything, if I do without Include() it returns the…
-
1
votes1
answer120
viewsQ: Run Trial with Codefirst
I am trying to run a trial on ASP.NET MVC with Codefirst. I saw some examples on the internet but they are not working, someone can help me? Follow the code I’m using, the Procedure just copies some…
-
1
votes2
answers785
viewsQ: Initialize object in Asp.Net MVC
I have a class Cidade who owns the property Estado of the kind Estado: public class Cidade { [Key] public int ID { get; set; } [Required(ErrorMessage = "Campo Nome é obrigatório!")] public String…