Questions tagged as 'mvc'

1
answer

Count number of rows by expressing in a report.rdlc?

I would like to know if there is a way to count the number of rows in a report without making sql queries work on asp.net     
asked by 06.10.2017 / 15:26
2
answers

How to fill a DropDownList in mvc c #? [duplicate]

In my parameters I have "Option" which are -Gestion -Colegio -Estado -Pais I want to upload it to my DropDownList try in this way to load it but it's not like taking it into view, do you have any other method? Controller: public Acti...
asked by 24.10.2017 / 17:25
2
answers

Less variables are not replaced when compiling and error occurs

I am using less for the first time and I am having some problems. It's a MVC project and I'm using dotless and System.Web.Optimization.Less . I have registered a bundle to include all my files less and return a single minimized file to t...
asked by 27.09.2017 / 10:49
1
answer

Load a file from an angular scope function js

I have a type submit button, which uploads the file to its respective httppostfileBase, however I would like to load it without the need to give that button submit if not in another.     
asked by 19.09.2017 / 01:44
1
answer

In the mvc architecture can my controller connect with different models?

for example: If I want to register a vehicle (attributes: model, license plate, year) and it has a brand (attributes: name, country) My class driverVehicle can only connect with my class modelVehicle and modelVehicle would connect with modelB...
asked by 18.09.2017 / 03:48
0
answers

Do I have to create a model in Laravel for a pivot table of 3 tables?

I am developing an application in which exam simulations are carried out. The exams are generated for each user with random questions. There are questions and each one has its answers, one of them is correct. In turn, the user performs the exam,...
asked by 16.11.2017 / 01:17
0
answers

Call java controller from AngularJs

How about, my situation is as follows. I have the html in which I send my Angularjs, however when calling the java Controller from the factory with $ http, it marks me "not found" in the path of the url, in the conttoller is the @RequestMapping,...
asked by 11.09.2017 / 05:16
1
answer

control the access of users to a [closed] action method

I have a web system that provides access to 3 types of user (Student, Teacher and Admin) in which I want to restrict the access of certain users to an ActionResult of the controllers.     
asked by 11.09.2017 / 08:13
0
answers

Error: Incorrect syntax near 'OFFSET' RAZOR MVC WEBMATRIX

Good I have the following error and I do not know where it will be originated Incorrect syntax near 'OFFSET'. Invalid use of the NEXT option in the FETCH statement. eh tried everything but I can not solve the problem, here I leave the code...
asked by 16.11.2017 / 17:22
0
answers

Help with MVC Entity Framework

This is my controller: public ActionResult Index() { IEnumerable<ent.RRHH_SEDE> listar = db.TraerTodo(); Enumerable<mod.RRHH_SEDEModel> entidad = Mapper.Map<IEnumerable<ent.RRHH_SEDE>, IEnumerable<mod.RRHH_SED...
asked by 24.08.2017 / 19:28