I have a form to persist data with entity framework , I put DataAnnotations to my model, but still I do not validate the values, I do not see the messages of error , if I do not put nothing in the name field or in the select...
As I can get the value of a DropDownList in the controller, it is assumed that there is a DropDownList which when selecting an option and pressing search should filter and throw the data in the table below in that same view, I am working on the...
I am creating a form using Microsoft MVC technologies. Basically it is a <div> that are divided to have two columns and there to put the labels and controls. The problem is that the text box of Email is misaligned.
This is...
Suppose I have the following value of javascripts:
<script type="text/javascript">
var variable_js=10;
</script>
and in razor, an asp.net variable, I want to assign the value of javascripts that you declare. For example:
@...
I have an error that says: Error of the underlying provider in Open, and in
in innerexcepcion says:
{"Timeout value expired." The timeout period
It ran out during the pre-session start phase. It is possible that the
connection will tim...
I have the following dataTable that I show from the database. In the View:
$(document).ready(function () {
$('#example').DataTable({
"lengthMenu": [[2, 5, 10, 25], [2, 5, 10, 25]],
"language": {
"sProces...
I'm doing a web in ASP.NET MVC 5 that shows a list of people, currently only shows the ones that are in that day, but since the bd stores every day I want to create a view that is history style that they put the day that they want to show and th...
I am trying to create an ASP.NET application with the MVC 5 template. However, when I try to choose the template it does not appear.
When I use Visual Studio 2013, it does give me the option to use MVC 5.
I already tried using the repair o...
I'm exporting to Excel
But I need to use ajax ,
because I need that when I give in Exportar a Excel leave me in the same view
This is from my controller where I have: My ActionResult of index and void wher...