Questions tagged as 'asp.net-mvc-5'

0
answers

Problem in application startup?

I have an ASP.NET MVC 5 application hosted on a dedicated server and at some times when the Application Pool is unused and IIS raises it on the first access I am getting the following error: System.ArgumentException: Source array was not long...
asked by 28.07.2016 / 12:38
1
answer

Exception error when authenticating login with null values - Simplemembership - ASPNET MVC

I've developed a project in asp.net mvc5 from a course I'm doing, which is accusing the following exception error at the time of authenticating the login menu when I do not enter any data in the form fields and step null parameters:    "An ex...
asked by 11.08.2016 / 17:00
0
answers

Upload - the process can not access the file because it is being used by another process

I'm trying to mount a file manager, but I'm having trouble updating the file. First I make the upload of the file, and after that, if the user wants to update, I have the option of updating, where it changes the file, that is, it uploads...
asked by 15.07.2016 / 14:20
1
answer

.js files are not loaded after ActionLink loads PartialView

I have a PartialView called _MenuLeft that contains my menu items, it is loaded in the _Layout with the Helper Html.Partial (""). Within the 'menu' there is an ActionLink to load into the 'content' div the forms I want, follow the example: @A...
asked by 04.05.2016 / 22:18
1
answer

ASP MVC 5 - Error in Image Upload "The input is not a valid Base-64 string"

I am trying to resolve this error in all ways I found suggested in forums, but all the solutions I tried none solved my problem. Whenever I submit a View my View presents this error and does not get or receive anything in my controller method wi...
asked by 29.04.2016 / 05:15
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
2
answers

@ Html.ActionLink and Url.Action are not taking the route of the controller annotation

I have the following method in the control: [Route("video/categoria/{categoria}/{page?}/{sort?}")] public async Task<ActionResult> Index(string categoria, int? page, string sort) { ... } My RouteConfig.cs: public static void Regis...
asked by 07.11.2015 / 02:05
1
answer

Knowing ModelState in javascript dynamically

I'm developing an application in ASP.NET MVC 5 and I have a problem in putting a modal load while the form is saved, because when there is something invalid in the form the javascript does not respect, showing the loading mode, I would like know...
asked by 06.11.2015 / 19:40
0
answers

Error loading cascading dropdownlist

I am trying to load a cities dropdownlist according to the selected state and am encountering an error. I managed to perform the operation on a template that I downloaded from the internet, but I'm not getting it in my project. Thecodeisbelo...
asked by 26.10.2015 / 13:49
2
answers

POST in Ajax arrives with null data in ActionResult of MVC5

I have a function in AJAX that is the click event of a button where I get all the checkbox that are checked and get the values of each one and play in an array like this: $("#btnDropMessageSents").click(function (e) { var id...
asked by 10.10.2015 / 18:49