Questions tagged as 'asp.net-mvc'

2
answers

How do I perform the filling of an information that is in a JSON complex type?

I'm trying to fill in an ICollection type that is owned by my Professional template. When executing the request I pass the information via JSON ButintheVSandGETdebugtheinformationisnotthere!     
asked by 02.10.2018 / 20:22
2
answers

Modal display after form validation (filled fields)

I have a form with several fields that are required. When you click send, the validation is performed using jquery validation and being ok, it sends to the controller (ASP.Net MVC). I need to validate the form after the form validation, displ...
asked by 08.08.2018 / 18:12
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
1
answer

Deploy Asp Net MVC

I deployed a simple site that is still under development, the address is link , but I do not know how to solve the problem that happens when I try to access it. Has anyone ever had this problem? Server Error in '/' Application. Security Exce...
asked by 15.01.2016 / 01:34
1
answer

DropDownList Cascade and MVC Compound

I have a following doubt I have 1 User class and it consists of other classes Gender, Course and Semester Ex public int Id { get; set; } public string Nome { get; set; } public Genero Sexo { get; set; } = new Genero(); pu...
asked by 29.04.2018 / 16:34
1
answer

Block Chrome extension

Good afternoon, I developed an EAD platform with courses hosted in Vimeo, but I have the following problem, there are some extensions that can be installed in Google Chrome that allow the download of the video, even applying all the privacy rest...
asked by 18.08.2016 / 14:35
1
answer

Post Table Title [duplicate]

I have a table that is generated using JSON: <div id="divResult" ></div> The JSON script : $.getJSON("@Url.Content("~/CadLevVisCont/ProcessaLevantamento")", { nmUF: catUF, nmRodovia: catRod, nmAno: catData }, funct...
asked by 22.09.2014 / 14:55
2
answers

Could anyone explain why I'm getting this error back? (Uncaught ReferenceError: response is not defined)

Ihavetwomodels(classes)  ClassMembernamespaceGerenciaIgreja.Models{publicclassMembro{publicMembro(){DataCadastro=DateTime.Now;}publicintId{get;set;}publicDateTimeDataCadastro{get;set;}publicstringNome{get;set;}[Required][DisplayFormat(DataForma...
asked by 11.10.2017 / 03:55
4
answers

How to create a switch..case with ranges of values?

If a total of days is greater than 30 and less than 60, I do something. If it's bigger than 60 and smaller than 90 I do something else and so on. How do I case ? Is case the best option?     
asked by 26.03.2014 / 13:53
2
answers

Save images to repository and retrieve it through Path with C # [closed]

How to save images to repository and retrieve it through a Path with Asp.Net MVC? Searching in some places, I noticed that saving images directly to the database can have a significant loss of performance in the application.     
asked by 12.02.2014 / 15:01