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

0
answers

how to bring table records related to ajax in .net mvc?

I have a many-to-many relationship and I want to bring the records to a view, I am using the $ .ajax () method of jquery but after executing the code in the browser it says that there is a circular reference. What would be wrong?     
asked by 02.10.2018 / 18:49
0
answers

How to avoid using the var data type in Asp .Net MVC5?

I have the following question and I want to know if you can help me clarify that doubt, it turns out that today ASP ASP.NET MVC5 is very much used variable type var which is a variable that adapts to the type of more convenient data, but...
asked by 01.10.2018 / 17:40
0
answers

Assign a role to a user when registering Asp.NET MVC

I am developing an application in Visual Studio 2017. I am using Membership as it is. I need the application to show the views according to the type of user, that would be with the roles. What I need is for the user to register to select the typ...
asked by 02.09.2018 / 23:20
0
answers

Display a pdf in Byte [] with FileContentResult in a modal window

Hello, I have the following code, with which I can show PDF files stored in a database: public ActionResult VisorArchivo(int id) { COTIZACION_ARCHIVO cot = db.COTIZACION_ARCHIVO.Find(id); Byte[] pdf = cot.CONTENIDO_ARCHIVO;...
asked by 10.09.2018 / 04:56
0
answers

Generic validation for a MVC 5 template editor

I am working on an Editor template for an object, which must be validated independently of the rest of the form, this validation I am doing with ajax, I am a small example to show my problem. class A { public B b { get; set; } } class B {...
asked by 28.08.2018 / 18:41
0
answers

'DataSet does not support System.Nullable.' Error filling out report with Datetime Null data

I am filling out a report in crystal report with a class that has null data types in c # when I try to fill out the report I get the following error:    'DataSet does not support System.Nullable < & gt ;.' crystal report. public class...
asked by 26.08.2018 / 16:01
0
answers

I have problems printing from a web server with IIS

I have a web application with ASP.NET MVC hosted on a server with IIS. This application should print a voucher or voucher when the user clicks on an action button. Perform the test in my development environment (local), from the visual studio...
asked by 21.08.2018 / 21:10
0
answers

Return value to an input text from a controller

I am new to asp.net mvc, I am creating a "fitness" web app that allows you to calculate BMI and BF% (percentage of body fat). The user will see this: <h1>Calculate</h1> <h2>BMI</h2> <form> <table>...
asked by 17.08.2018 / 18:13
3
answers

MVC Crystal Reports

They could help me with the following: I have two related models, one Customers and another Orders, I try to generate a report with crystal reports of the orders generated, they would be something like when a customer buys something in a stor...
asked by 17.08.2018 / 13:33
0
answers

What is the best way to implement the reports in asp.net mvc 5?

good morning It turns out that I'm doing a web application in the company where I work and I need to make reports with the information obtained from the sql server database that they recommend me in that case?     
asked by 09.08.2018 / 14:06