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

0
answers

Adding Partial Views to my main page via a modal

I have a page with a button that calls a modal and in this modal there is a table with the products, which when I click on a record of the products it is added to my page. You are adding only the first product, more than one is not added. I h...
asked by 02.10.2015 / 15:32
1
answer

Search structure of controller mvc 5

I have a normal mvc 5 application and would like to change the basic folder convention for controllers / views. For example: / Controllers / Admin /Controller1.cs / Controllers / Admin /Controller2.cs And when I create views, I f...
asked by 15.09.2015 / 19:55
2
answers

Problems filling fields in PDF in ASP.NET MVC

I'm having problems rendering some fields from my table in the PDF file. It was working fine, but I do not know what happened these fields are no longer rendering. On my My Courses screen, the student has a button that issues a Course...
asked by 02.07.2015 / 22:16
1
answer

C # MVC5 - Using OutputCache

I recently started to study OutputCache and its uses, due to its use in a corporate system. I'm using OutputCache to load all the menus a user (logged in) will have access to. However, I want every login to reload this method ag...
asked by 08.07.2015 / 17:08
1
answer

How to change the list type in Asp.Net MVC

How do I change this type of listing Forthistypeoflistbelow My View @model IEnumerable<MeuProjeto.Models.AlunoCurso> @{ Layout = "/Views/Shared/_Layout.cshtml"; } <h2>Aprovar Aluno</h2> <table class="table tab...
asked by 23.06.2015 / 22:07
1
answer

How to edit a Boolean field in a list in Asp.Net MVC

Well, I'm developing an application that manages Courses , and I have the following problem. On my Administrator screen I need the Course Name , Student Name fields and the Approved field that is a booleano field. This screen is w...
asked by 22.06.2015 / 23:03
3
answers

Problem with a Boolean field in ASP.NET MVC

My application that manages Courses has an area of Administrator where it approves a student in a course . This field that Approves a student is a booleano field, but I'm having trouble with this field booleano when ta...
asked by 25.06.2015 / 07:18
1
answer

Listing in Asp.Net MVC

Well, I'm developing an application that manages course registrations, so my course listing screen looks like this: ButIneedtomakeanewscreenwithanothertypeoflisting,andIwouldlikethelistingtobebycourseandshowthestudentsenrolledinthiscourse.For...
asked by 03.06.2015 / 20:28
1
answer

How to bind an Id in ASP.NET MVC

Well, I have a little problem with my application, which is a Course Manager. The problem is that "student" has to enroll in some course, but I am not able to make the student's association to the course. In my registration screen I have a butto...
asked by 04.06.2015 / 19:39
1
answer

Object reference not set to an instance of an object.

Can anyone help me with the error below? I implemented it based on this link PermissionCookie     
asked by 22.05.2015 / 04:46