Questions tagged as 'mvc'

1
answer

How to Activate a Li Element from the url

Hi, I have a list of 3 elements and I need to know how I can put an element of that class="active" list from a call with @UrlAction. Thanks in advance INDEX WHERE THE LISTING IS THE ELEMENT IS TRACKING @{if (!User.Identity.IsAuthenticated)...
asked by 19.10.2018 / 11:09
1
answer

Return Data and View in JsonResult

I put them in context, I'm working with C # MVC architecture, when making POST of a Create, defined as follows: [HttpPost] public JsonResult Create(List<Modelo> registros) {... I must return a JsonResult() in which I must re...
asked by 16.10.2018 / 21:27
1
answer

Can Laravel be used without databases?

Maybe the question is very silly but I am new to Laravel. I am currently developing a project similar to a blog and you need to implement a user that would be the administrator. So since I only need 1 user I do not see any sense in using a BD. I...
asked by 15.10.2018 / 23:17
1
answer

Create buttons for a form (two values, yes, no)

I have this form, that I want that at the moment of being filled out I see only two options to read, something like a switch, yes or no; using bootstrap. <form> <div class="editor-label"> @Html.LabelFor(model => model...
asked by 01.10.2018 / 21:32
0
answers

I can not save a record for the char data type in c # MVC

I have a table of products and the code I have as char(6) in the data and business layer I do the whole process, now in the presentation layer I convert the string in char using Convert.TChar(txtcodigo.Text) , it does not sen...
asked by 30.09.2018 / 20:55
1
answer

Base document does not exist or is not a readable directory

Hi, I'm looking at a tutorial and when I run the server I get the following error:    The Base Document   C: \ work \ SpringMVCSignupLoginPasswordEncoder \ target \ SpringMVCSignupLoginPasswordEncoder-0.0.1-SNAPSHOT   does not exist or is not...
asked by 26.09.2018 / 19:19
0
answers

How to work with classes, services and pages with Ionic3 and Angular4

I launch this question so that those who have more experience tell me if my approach is correct or if it is nonsense. Suppose we are going to develop an application with Ionic3 / Angular where we have a CRUD of Clients. The correct thing, as...
asked by 30.09.2018 / 10:54
0
answers

Block or freeze columns or rows with GridView

In my web project I downloaded an xls file, which I generated through a GridView. The file opens correctly and shows the correct data. The code is as follows: private DataTable tableExcel; public ActionResult returnExcel(HttpResponseBase re...
asked by 03.10.2018 / 22:31
0
answers

Out of Memory when reading an excel file with ClosedXML

I have an interface on the web, with MVC, c # and js, when I attach the file to the input, it keeps loading and after a while it gives me the message outofmemory. The file is read, saved in a datatable and then inserted in bd. There is some m...
asked by 24.09.2018 / 22:11
0
answers

I can not see the records I search in the Grid

I have a problem, I hope you can help me. I am occupying Kendo UI Grid on a page, when loading the page, I fill the grid. On the same page, I have filters to perform a search, when I search, the driver brings me the data correctly and it is show...
asked by 19.09.2018 / 01:17