Posts by Novato • 615 points
29 posts
-
0
votes2
answers101
viewsA: Problems filling out PDF fields in Asp.net MVC
Be able to solve as follows: In my Action I changed nothing public ActionResult GerarPDF(int id) { //Aqui eu pego o usuário logado var alunoCurso = db.AlunoCursos.FirstOrDefault(ac =>…
-
2
votes2
answers511
viewsQ: Validation via Javascript
In my application that manages Courses, I need a validation via javascript. I have a screen where the pupil makes his registration in a certain course, what I wanted is that when he click the button…
-
1
votes2
answers101
viewsQ: Problems filling out PDF fields in Asp.net MVC
I’m in trouble to render some fields from my table in the file PDF. It was working fine, but I don’t know what happened to those fields are no longer rendering. On my screen My Courses, the pupil…
-
3
votes1
answer755
viewsQ: Changing the status of a field with Javascript
I am developing an application that manages Courses, am beginner in Asp.net MVC. In my application I have a screen that the Pupil makes his Inscription in a course, I also have a field Number of…
-
2
votes1
answer836
viewsQ: How to use JSON on Asp.net MVC
I’m a beginner in Asp.Net MVC, and I’m developing an application that manages Courses and on my screen of enrollment I’m trying to do a validation that case the pupil is already registered in a…
-
7
votes1
answer266
viewsQ: Problems with IF in javascript
I’m a beginner in Asp.Net MVC, and I’m developing an application that manages Courses and in my screen of enrollment I’m trying to do a validation javascript what case the pupil is already enrolled…
-
0
votes1
answer2189
viewsQ: How to fix System.Collections.Generic.Ienumerable error
My application that manages Courses is making that mistake O item de modelo passado para o dicionário é do tipo 'System.Collections.Generic.List'1 [MeuProjeto.Models.Curso] ", mas este dicionário…
-
1
votes3
answers494
viewsQ: Problem with a Boolean field on Asp.net MVC
My application that manages Courses has an area of Administrator where he approves a pupil in a course. That one field that Approves a student is a field booleano, I’m just having trouble with this…
-
1
votes1
answer616
viewsQ: How to list items per logged-in user in Asp.net MVC
I have an application that manages Courses and I have the following problem, the pupil makes his enrollment in courses, only when the pupil access the page where lists the courses he is enrolled,…
-
1
votes1
answer115
viewsQ: How to change the list type in Asp.Net MVC
How do I change this kind of listing For this type of list below My View @model IEnumerable<MeuProjeto.Models.AlunoCurso> @{ Layout = "/Views/Shared/_Layout.cshtml"; } <h2>Aprovar…
-
1
votes1
answer287
viewsQ: How to edit a Boolean field in a list in Asp.Net MVC
Guys, I’m developing an application that manages Courses, and I have the following problem. On my screen Administrator I need the fields Course Name, Student Name and the countryside Approved which…
-
4
votes2
answers2052
viewsQ: Update page(View) automatically in Asp.Net MVC
Guys, in my application that manages Courses, i have a sign-up screen, where the student clicks on the button "enrollment" and enrolls in the course, and the amount of vacancies field is decreasing.…
-
4
votes2
answers1180
viewsQ: Validationsummary - Asp.Net MVC problems
I’m having problems with Validationsummary in my application that manages Courses, I have a screen where the student enrolls in a course and in case he tries to enroll in it course again should…
-
4
votes1
answer955
viewsQ: Edit field within a list in Asp.net MVC
Guys, I’m developing an application that manages Courses, and I’m trying to make a list where present on the screen the Courses, the Student Name and the countryside Approved, where it indicates…
-
2
votes1
answer404
viewsQ: Problem with Entity Framework Relationship
I am having problems in the relationship of my bank, I am developing an application that manages Courses, I am still beginner in Asp.net MVC. I have two tables Pupil and Course, and I have another…
-
1
votes2
answers147
viewsQ: Problem with a Count in Asp.Net MVC
My application manages courses, on my registration screen I have a field "amounts of vacancies", where, this is decreasing every time a student enrolls in a course. The problem now is that my Count…
-
2
votes1
answer92
viewsQ: How to bar the registration of an already registered user
I am developing an application that manages Courses in Asp.net MVC, I’m still a beginner, and I’m trying to do the following: The Student has a screen where he lists all the courses for him to…
-
1
votes0
answers221
viewsQ: Error - Only primitive enumeration types or types are supported in this context in Asp.Net MVC
As explained in this link Only constructors without parameters and initializers are supported in LINQ to Entities return View(db.Cursos.ToList().Select(c => new CursoInscricoes(c,…
-
5
votes2
answers305
viewsQ: Only constructors without parameters and initializers are supported in LINQ to Entities - Asp.Net MVC
I’m developing an application that manages courses. The student, when entering the registration screen and clicking on the "registration" button, is associated to a course, that is, is enrolled. So…
-
1
votes1
answer500
viewsQ: View does not render on Asp.net MVC
Guys, I’m a beginner in asp.net MVC and I’m already picking up a certain amount of time for a blessed View. According to the help I had in this post Button only works if you pass the ID in the URL…
-
0
votes1
answer595
viewsQ: Button only work if you pass the ID in the URL in Asp.net MVC
I’m having a problem with my Courses manager application in Asp.net MVC. The scenario is as follows: I have a screen where the "Student" makes his registration in a course. By clicking on the…
-
1
votes1
answer139
viewsQ: How to link an Id to Asp.net MVC
Guys, I have a little problem with my application, which is a course manager. The problem is that "student" has to enroll in some course, only I’m not able to make the student’s association to the…
-
1
votes1
answer359
viewsQ: Listing on Asp.Net MVC
Guys, I’m developing an application that manages enrolment courses, on my screen of listing the courses is like this: Only I need to make a new screen with another type of listing, and I would like…
-
2
votes2
answers971
viewsQ: Form single field validation in Asp.Net MVC
I am developing an application that manages enrollment in courses, and in my registration form I have the field CPF, and I would like to know how I make this field unique, IE, bar the user to make…
-
1
votes1
answer1406
viewsQ: Disable a button on Asp.net MVC
I am developing an application that manages enrollment in courses, I am still an apprentice at Asp.net MVC, and I have the following question: On my course screen is a "registration" button for the…
-
1
votes1
answer873
viewsQ: Undefined object reference for an object instance.?
Can anyone help me with the error below? I implemented based on this link Permissioncookie…
-
3
votes1
answer33
viewsQ: What mistake is that?
I am trying to change the css of my application in Asp.net mvc 5, but when trying to do this returned me this error ai. Does anyone know why?…
-
2
votes1
answer123
viewsQ: Decrease in a field of table Asp.net MVC
I am developing course manager in Asp.net MVC, and in the course table has a field qty vacancies. I wonder how I do to make one Count-- (or some other way to Decrease) this field. For example: In…
-
2
votes1
answer6706
viewsQ: Login system in Asp.net mvc
How do I implement a login system in an Asp.net MVC application. Do I use Forms Authentication or Identity? I’ve been reading about Identity and wanted to see a basic example of Identity using the…