Questions tagged as 'asp.net-mvc'

0
answers

Doubt with reading data from an api web using AngularJS

I have a web api made in ASP.NET, I have a script that reads these data, but I'm not sure how to do the other methods. I am posting the code of the script is from the html that at the moment this only working the GET. Thank you Doubt: There i...
asked by 07.01.2016 / 14:05
1
answer

How to solve the 405 error method not allowed on the server? [closed]

I developed a web api, upload on the server is all methods the only one that does not work is the delete, I did a search on the internet is to find out: When you search for the default document, you receive one of the following error messages...
asked by 07.01.2016 / 17:53
0
answers

Error 403 Forbidden You do not have permission to access this document asp.net

After uploading the site made in ASP.NET MVC, when trying to access, I have this error, is there any configuration needed to be made?     
asked by 07.01.2016 / 20:40
0
answers

Html.DropDownListFor Add Image in certain position

Good afternoon, guys. I want to add an image in the second position of DropDownList, could anyone tell me how I can do this? I tried adding one using with append and it did not work.     
asked by 07.01.2016 / 18:38
1
answer

Doubt in the publication of site made in asp.net mvc

After posting to a local folder on the computer, uploading the files online is the error I generated:     
asked by 06.01.2016 / 21:40
1
answer

Randomize different PartialViews at random

I have the following scenario: I have to pass to a view data of different tables (similar data, but without any relation), until then I got it good. I created a class (viewmodel) that receives the data, in the Controller food it wh...
asked by 10.12.2015 / 17:42
0
answers

Records in ICollection navigation property are not being written

I'm trying to include items in a property of type list but I'm not able to include the records in the database. Firstly I have the following class models: public class Frota { public Frota() { Veiculos = new List<Veiculos&g...
asked by 11.12.2015 / 15:06
1
answer

Controller Edit - Inserting Values

My method responsible for editing is inserting values into the CONSUL_EnciclopediasCONSUL_Promocoes table instead of editing. If I have the options x with id = 1 and y id = 2 within the course a with id = 1 and I originally choose the opt...
asked by 12.09.2014 / 19:49
1
answer

How to get a decimal value by QueryString in ASP.NET? [duplicate]

I have a form that sends some data, I want to receive this data plus one of them is a value, it is coming without the correct formatting. @using (Html.BeginForm("GravarDados", "Aposta", FormMethod.Get)) { <div class="container dropped...
asked by 09.01.2016 / 19:17
0
answers

Infinite Scrolling in ASP.NET MVC and SEO

Well, I need to do an infinite scroll in ASP.NET MVC, but I need to separate content on demand as suggested by the blog #, so that the Google robot can index my products. Does anyone have a light there? My structure currently looks like thi...
asked by 03.11.2015 / 20:30