Questions tagged as 'asp.net-mvc'

0
answers

Select2 input out of container

I'm using the CSS 3.5.4 with ASP.NET MVC , and it does not mesh with input , and it looks out. HTML Code: <div class="input-group" style="width:100%"> <span class="input-group-addon"><i class="fa fa-s...
asked by 27.03.2018 / 07:32
0
answers

Update a record in the database with ajax?

What I'm looking for is updating a database record by recommending a more experienced programmer who told me that he would use POST to structure the following code. <script> $("#txtHoraSalida").val(hs); $("#txtGafete").ke...
asked by 07.04.2018 / 18:16
0
answers

Filters on asp.net mvc

I am trying to make some filters that as I select one, I look for the records with that data and if I select another filter the list of records will be shortened. This is my code, it does not mark me any errors when compiling, but when I select...
asked by 22.03.2018 / 08:33
0
answers

Does anyone know what happens with my Layout in ASP .NET?

See, I have a problem. I have configured my file "BundleConfig.cs" to minify my styles and scripts in production. At this moment I am in the development environment. My application had some performance problems by the dependencies. At first...
asked by 14.03.2018 / 00:54
2
answers

Error trying to capture the value of an @ Html.DropDownList

I have a form and I show a @ Html.DropDownList, the data that I am passing was passed through a ViewBag which instantiated at the beginning of the view, when trying to get the value the jquery generates the following error Uncaught Error: Synt...
asked by 15.03.2018 / 18:28
3
answers

Incorrect date format when using DatePicker

I have a DateTime field with its BootstrapDatePicker like the following: <div class='input-group date' id='datetimepicker1'> @Html.TextBoxFor(m => m.DatePicker, new { @class = "form-control" }) @Html.ValidationMessageF...
asked by 07.03.2018 / 02:01
1
answer

ERR_UNSAFE_REDIRECT when opening local file

I get the address from the database and I want to load the pdf that is in that address but this error appears Response.Redirect ("C: \ file.pdf");     
asked by 02.03.2018 / 19:38
0
answers

Error using RequiredFieldValidator control when opening vs 15

The project started in Visual Studio 13 then updated to version 15 but at the time of testing give this error. When I comment on the validations, it works again <asp:RequiredFieldValidator id="rfvTnitp" runat="server"...
asked by 26.02.2018 / 17:04
4
answers

how to set a default value of 0 in dropdownlist

then the dropdown brings the following values VALOR1 VALOR2 VALOR3 I want the combo to bring a default value to tell me to choose your example option: -- SELECCIONE -- VALOR1 VALOR2 VALOR3 because it always brings me by default VALOR1...
asked by 24.01.2018 / 16:31
1
answer

Create URL with .NET MVC Resource Files?

Basically in my RouteConfig.cs I am trying to map a route that varies depending on the current browser language. What I'm trying to get to is a dynamic path like: /books-with-description/ /libros-con-descripcion/ these strings are const...
asked by 23.02.2018 / 15:55