Questions tagged as 'asp.net'

2
answers

Validating data with mvc asp.net (editing)

I have a user registry where I use the remote validation in the data annotation to check if the user that is being registered already exists, my problem is in editing, how I am changing and using the same object the system thinks I am registerin...
asked by 18.07.2014 / 01:08
1
answer

Problem updating database data using LINQ to SQL

I'm developing a C # ASP.NET application in which I look for certain data from the database, I put it in a form, and when I click 'Save', I want the database to save the changes I made. I'm using Linq to SQL. The code below, at the end, calls...
asked by 17.07.2014 / 15:38
2
answers

Exception handling not working

Hello, I am studying C # and was trying to do exception handling using middleware, to send the message and exception code to the client, but it is not working very well. Debugging, the breakpoint is normally passing through the middleware, but...
asked by 19.12.2018 / 22:45
1
answer

DropDownList does not work inside DetailsView

I have a DetailsView with multiple fields and a DropDownList that should update the sexoAnimal field with Male (M) or Female (F). I added a ControlParameter to SqlDataSource , the parameter takes the selected...
asked by 13.03.2014 / 21:09
1
answer

Session variables in ASP.Net

I have a method in AJAX that sends me a certain value, when so requested, for a session variable (a list of strings in this case). Session Variable private static List<string> ListData { get{return (List<string>) Session["Li...
asked by 27.04.2014 / 12:14
0
answers

IOS emulator in Webview (iframe) losing asp.net session

I have a problem with my project in Ionic, below follow the versions.    Ionic: 4.1.2   ASP.NET: 2.1.502 A little bit about my project ... It has a route in the application where it generates a Webview (iframe) where in tha...
asked by 17.12.2018 / 20:26
1
answer

List not being passed as method parameter

I need to implement is the RoutesBetween method to trace the route between one point and another (in this case, point A and E ). Test Method: public void TestRoutesBetweenTwoPoints() { var links = new ILink<string>[]...
asked by 21.12.2018 / 01:23
0
answers

asp button within a modal does not trigger to click event

If you click on the button it makes me check the textbox , incorrect formats etc, but if the textbox are all validated it does not call the associated event, it Any idea ? the button is within a form with runat="server" that inherits from...
asked by 11.12.2018 / 19:32
1
answer

formatting encoding .net

Alright? I have a problem that is as follows: I retrieve the html from a legacy system and, I need to change that html pa then return to the browser with the new html. But when I retrieve this report the words with ç and accents, are with specia...
asked by 07.12.2018 / 18:34
0
answers

Receiving StackOverflow when invoking a ViewComponent

I'm creating a ViewComponent and I'm getting a Stackoverflow when invoking it public IViewComponentResult Invoke() { return View(new CidadeViewModel { Cidades = _cidadeRepository.Cidades.Count(),...
asked by 23.12.2018 / 19:24