Questions tagged as 'asp.net-mvc'

0
answers

DropDownList Populated

Good afternoon, I am developing a CRUD screen record in ASP.NET MVC 5, the problem is that I have fields in the form that are dropdownlist and the moment that edict has to load the options of the dropdown, however has to come select the optio...
asked by 17.01.2018 / 18:49
1
answer

Asp.net web api From uri and From Body when using?

Asp.net web api for serving [FromBody] and [FromUri] and when there is a real need to use? example: public IHttpActionResult Get([FromUri] email) { } public IHttpActionResult Get([FromBody] email) { }     
asked by 21.01.2018 / 19:20
1
answer

comr radiobutton problem asp mvc

Good evening, I'm trying to popular varis radiobutton according to the value contained in my database, but I'm not able to do it. Here is the view with the radiobutton @model GuialetoLMS.Models.GuialetoModel @foreach (var choice in Model.Ve...
asked by 13.01.2018 / 01:49
0
answers

Which is faster? Search given on the Bank or reading a cookie?

Well, in your opinion, what would be best in this situation? I'm working on an Asp MVC and Entity Framework site. I have a table of federative units where I have (simplifying) 3 columns Id, StateName, StateName. Example: 1, Minas Gerais, Mina...
asked by 13.01.2018 / 18:11
0
answers

Paging with jQuery and ASP.NET MVC

I'm looking for a number of ways to do paging with Ajax and ASP.NET MVC, so far I've been able to show all the data in the database but I'm not able to show one at a time. In this part I wanted to show only one question and as soon as it answe...
asked by 23.01.2018 / 02:23
0
answers

ASp Net MVC site does not display i class items

I created an e-commerce site in default Asp Net MVC, when running the local site in Visual Studio by ISS it loads all the "i class" icons and the value field that I defined as    Follows Console result when opening page on ISS:   "Using // @...
asked by 12.01.2018 / 23:44
1
answer

Sending Sandbox notifications from PagSeguro to the local address (C # ASP.NET MVC)

I'm integrating PagSeguro into an ASP.NET environment, and everything was going well until I got to the part of sending PagSeguro notifications. As you can see in the image below, I have configured the following parameters for redirection and fo...
asked by 05.01.2018 / 19:41
1
answer

"Filter" options of a DropDownList based on a selected option from another DropDownList

Greetings from Stack Overflow! I have a cruel question on Javascript/Jquery that is consuming me longer than I would like (heh!) - I would like to filter a Dropdownlist based on the options of another Dropdownlist . The...
asked by 04.01.2018 / 12:14
2
answers

C # Calling the Asp.Net MVC5 Controller method with Ajax

Hello, I have a method called GetData() in my HomeController that returns a JSON, I would like to pass the data to my View, but it always comes empty, I'm starting as a developer, and I'm already a few days into it, been clear and someone...
asked by 04.01.2018 / 14:29
1
answer

Pass data to the viewbag of the controller for view using Chart.JS

I'm trying to pass data from a list to a viewbag, but it's not returning correctly in the view. Mytemplateandcontrol:publicclassDataPoint{publicStringnome=null;publicdoubley=0;publicDataPoint(Stringnome,doubley){this.nome=nome;this.y=y;}}pub...
asked by 03.01.2018 / 17:17