Questions tagged as 'asp.net-mvc'

0
answers

How to create a Countdown timer that shows the time remaining between two dates

I am trying to create a timer that indicates the time that remains between the start of a date (StartDate) and the end of a date (FinishDate). The entity FitnessGoal has a beginning and an end, that is, their respective startdate and finishd...
asked by 21.08.2018 / 16:05
1
answer

Disable / hide main menu

I am new to asp.net mvc , I am trying to make my menu only visible to users who have logged in and invisible to visitors or not registered, I have no idea how to do it, the menu create it using asp.net mvc 5 web app. This is my view _Layout...
asked by 16.08.2018 / 10:26
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

Calculate a parameter of a user with JS

I am creating a web app fitness that allows me to calculate the BMI and body fat percentage (BF) of a person, but the method that implements in JS does not work and I have no idea why. This is the view with the JS: @model IEnumerable&...
asked by 19.08.2018 / 14:08
1
answer

Help with search method and pagedList C # MVC

That such a friend I turn to you again to solve a problem that I think is simple but I could not find the solution. 1.- It turns out that I have a actions result in the following way. public ActionResult searchRequerimiento(searchRequerimi...
asked by 12.08.2018 / 14:32
1
answer

Insert from CSV file to table in asp.net core

I have tried unsuccessfully to enter from a CSV file to my data table. So far the code I have is the following: [HttpPost("UploadFiles")] public async Task<IActionResult> Post(IFormFile files) { var filePath = Path.GetTe...
asked by 10.08.2018 / 00:01
0
answers

Progress bar .NET Razor C #

Friends I'm doing a program that loads VERY long files, in a database, I already have everything working, but I would like to implement a progress bar while my loading method is running, when I finish my method it will send me to another view. S...
asked by 09.08.2018 / 01:52
0
answers

Do not recreate the text in a view

I'm working with mvc and every time I switch to this' <div> <h3>TreeView</h3> @for (int i = 0; i < Methods.TablesList.Count(); i++) { string tableName = Methods.TablesList[i]; @Html.ActionLink(table...
asked by 04.08.2018 / 22:29
1
answer

problems when importing Excel file into MVC C #

I have the following code in the controller to import data from an Excel file: public ActionResult importarExcel() { var retorno = 0; for (int i = 0; i < Request.Files.Count; i++) { var fileuploader =...
asked by 31.07.2018 / 20:38
0
answers

Upload image android to webservice asp.net

Good morning, I'm trying to upload an image of Android using an ASP MVC controller method but without success, could you give me some guidance? Here I declare the Retrofit method @POST("prueba") Call<JsonElement> prueba(@Query("img")...
asked by 30.07.2018 / 13:40