Questions tagged as 'asp.net-mvc'

1
answer

Declare scripts in partial views in ASP.NET MVC

I'm working with ASP.NET MVC, JQuery, Javascript I understand that when you work with a main view that calls a partial view, the partial view is injected into the main view. If that were true, it would no longer be necessary to declare the va...
asked by 25.02.2017 / 21:13
1
answer

Validate previous data with the new data [closed]

I pose the situation, I have a series of records that I can edit and I have a percentage field, so what I want is that at the time of editing I validate that I can not enter a lower percentage than the previous one, I edit and in the the text bo...
asked by 18.01.2017 / 21:07
1
answer

Validate a text with jquery

I'm working with ASP.NET MVC 5, jquery 3.1 I have a form in which I have a control input, which I only need to allow me to enter only numbers. Jquery code <script> $('#NumeroDocumento').on('keypress', function (e) { if (!$.isNumer...
asked by 19.01.2017 / 20:09
1
answer

Create in an ASP.NET MVC project

I work in an ASP.NET MVC project, Entity Framework. What I'm trying to do is register a record from a partial popup view. In partial view I call it from the index in which I have a table with our code. HTML: I have implemented the popup at...
asked by 18.03.2017 / 13:45
2
answers

Does anyone know how to pass data from a class to a td tag to form a table?

<table id="list" class="bordered"> <tr> <th>Nombre</th> <th>Apellido Materno</th> <th>Apellido Paterno</th> </tr> <tr> <td></td>...
asked by 27.12.2016 / 12:56
1
answer

Show the last day of each month on Date AjaxControlToolkit c #

Good a query as I do so that it is only active the last day of every month in date in aspx AjaxControlToolkit c #? <tr> <td>Fecha</td> <cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></cc1...
asked by 01.03.2017 / 18:59
1
answer

correctly obtain decimal values in controller MVC

I created a view based on a model using MVC C # in this model I have a property for the cost of an event, which according to my country can contain the following valid values (separated by hyphen): $ 1,234.56 - $ 123,123 , 54 - $ 1.25 and the pr...
asked by 23.03.2017 / 19:49
1
answer

Problem with entity framework when generating the model from the database

It does not let me select the tables of the model, already verify and the connection is well made, some other solution?     
asked by 10.12.2016 / 20:48
1
answer

Position controls in ASP.NET

I have tried several ways to position the controls in WebForms and none of them has worked for me. I tried through html and then with cells and everything goes out of order when opening the page with the browser. How can I solve...
asked by 31.10.2016 / 04:28
2
answers

Multiple mvc projects in the same solution c #

I wanted to see what they recommend. I have a large project with many clients and different requirements for certain things. My idea is to have a generic MVC project with the controllers, views and scripts that are repeated in all the clients an...
asked by 04.11.2016 / 11:40