Questions tagged as 'asp.net'

1
answer

Recover data from asp.net View

I have the following problem, when I place an order in the quantity field when I put a certain number I have to get it if it is in stock in the bank, and if I have to decrease the quantity in the bank, I do not know how to pass the value of the...
asked by 16.02.2018 / 20:26
2
answers

Post Post with Model data that attributes are classes

I'm trying to send a Post through a form, but in the controller the attributes that are classes are coming in as null, how should I do it so I can get the data right so I can register with the bank? Controller [HttpPost] [ValidateAntiForgery...
asked by 09.02.2018 / 12:47
2
answers

Update UpdatePanel after running ajax without page refresh

Good afternoon, I need to update components that are within UpdatePanel page aspx after insertion via Ajax . The Ajax executes a function in code-behind in C# , and reloading of the entire page happens....
asked by 26.02.2018 / 20:22
1
answer

ASP.NET MVC - Pass data between Views [closed]

I have two tables: Tb_1 and Tb_2 ; both have a id column and are related to each other in a Microsoft SQL database. For example: I selected the # 2 record in Tb_1 . When you run the Create command, Tb_2 gets # 2 in your id...
asked by 13.03.2018 / 19:27
1
answer

Create List of actions already passing the parameters and then execute them according to parameters passed

I wanted to know if there is a possibility to create a list of Actions already passing their parameters to execute, because the numbers that I will pass to the execution of them can be variable, so I would like to save these aActions already wit...
asked by 22.02.2018 / 15:14
1
answer

Foreign key entity framework asp.net mvc

I have My Table Repair and RepairDetails and I am getting the following msg when I try to update my migration: "The introduction of the FOREIGN KEY constraint 'FK_dbo.ConsertDetalhes_dbo.Pecas_PecasId' in the 'FixDetails' table can cause cycles...
asked by 02.02.2018 / 16:38
2
answers

Bootstrap message, apply location.reload at the end of message

Good afternoon, I'm trying to apply location.reload to the end of a messagebox after the .remove() effect of 2 seconds but I'm not familiar with javascript could someone help me with the code: function ShowMessage(message, m...
asked by 01.02.2018 / 19:54
1
answer

Get TextBox value inside Repeater with JavaScript event Onchange

Good afternoon, I'm not able to pass the value of a TextBox asp.net created inside a Repeater as a parameter to a javascript function onchange function. I need to pass two parameters the first is a Eval("Pos...
asked by 30.01.2018 / 18:44
1
answer

PostBack Asp.Net WebForms

I started working a little while with WebForms and was left in doubt, because I always mess with asp.net mvc . Assuming I have a DropDownList and populated DataSource with multiple records, when done PostBack...
asked by 06.03.2018 / 15:02
1
answer

ASP.NET Rich Edit

I have recently been working with Visual Studio 2015 and the following error occurred when I inserted a component in the HTML code. I think it's a silly mistake for lack of knowledge, but I have no idea how to solve it.     
asked by 24.01.2018 / 18:16