Questions tagged as 'asp.net'

0
answers

Problem with select value in DropDownList ASP.NET C #

I am developing a web page in ASP.NET. It consists of a master page which has the following line: <div id="content"> <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> </asp:ContentPlaceHolder> </div...
asked by 27.02.2018 / 01:24
0
answers

how to activate a button when filling two textbox in a webform?

I have tried this code but it does not work for me, it seems that it only works for Winforms: protected void Page_Load(object sender, EventArgs e) { Mnip.Enabled = false; //BOTON DESHABILITADO } private void clave1_TextLeave(object sender...
asked by 26.02.2018 / 17:10
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
0
answers

revise static method to return dataset through ajax

I am trying to fill a gridview from a static method since I use ajax but it was difficult to know how some sentences would have to go according to an example that works but they create a DataTable with data that they specify and what I try to do...
asked by 25.02.2018 / 23:25
0
answers

update updatepanel with js or jquery

How to update a .net updatepanel with Javascript through an HTML button? There are several "examples" but none really worked for me, I've tried with the following, maybe I'm missing something: $('#btnOk').on('click', function () { v...
asked by 25.02.2018 / 18:56
0
answers

Export PDF with itexsharp asp.net c #

I am doing the export of 2 PDF. I comment more detailed to generate those 2 pdf I want to be downloaded by pressing an EYE button (the PDFs are different) but the moment you run and it ends in response.end () it stops and you no longer down...
asked by 23.02.2018 / 23:35
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

How can I verify that the URL is correct?

Good I am breaking my head with this situation and I do not even know where to start. I have a list of valid URLs for an input, let's say 10 url from where users can enter links in an input, what I'm looking for is that if the user enters a link...
asked by 28.02.2018 / 20:19
0
answers

how to add a column to the sqlserver table generated by model?

the database generates it in the model that creates visual studio 15 and already contains data but I forgot a column as I can add the new column and update the model and database without affecting the information that already has and the other i...
asked by 27.02.2018 / 17:33
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