Questions tagged as 'webforms'

2
answers

Adding multiple GridView rows

I'm trying to include multiple rows in a GridView, but it does not add rows, it always overrides the first. I'd like to know how I can add multiple rows, not replace the first rows. Follow the code for what I'm currently doing: dt.Column...
asked by 05.06.2017 / 16:00
2
answers

Access biometric reader on client side - ASP.NET MVC - WEBFORMS

Galera, I developed an ASP.NET MVC application, using a webforms page, in which it is called inside an MVC page. Because only from it I was able to load the DLLs of the SDK, to send requests to a biometric reader, to capture and to authentica...
asked by 15.05.2017 / 01:32
1
answer

Make a textbox visible by selecting a radiobutton

With the code below I can do this procedure however I have to click the button. It looks like it needs a refresh to work <asp:RadioButton ID="RadioButton1" runat="server" GroupName="pesquisa" /> Teste <asp:RadioButton ID="RadioButto...
asked by 09.08.2017 / 15:32
3
answers

How to call javascript function in asp.net?

This is my job <script> function keypressed(obj, e) { var tecla = (window.event) ? e.keyCode : e.which; var texto = document.getElementById("numeros").value var indexvir = texto.indexOf(",") var index...
asked by 04.12.2016 / 04:57
1
answer

Convert a winform to webform

I have an application in a winForms I need to turn this project into a WebForm for web application, I am looking to know if it is possible and there is some way to do this.     
asked by 15.02.2017 / 17:47
1
answer

capture selected item DropDownList created in javascript

Hello, someone could help me. I have the following problem I have a TextBox and a DropDownList, in the textbox has an autocomplete with names of states; after finishing fill in the textbox populates DropDownList with names of cities correspondin...
asked by 02.11.2016 / 22:23
1
answer

Logging into a Web site using WebRequest

I need to log into a site using asp.net web forms. I'm doing it this way. How could I redirect to the page after logging in? protected void Button1_Click(object sender, EventArgs e) { var loginAddress = "http://spor...
asked by 19.09.2016 / 20:00
1
answer

Opening 2 modals with same class - CSS

Well, good evening. Is that okay? My question is relatively simple. I have a modal box to present a simple text. I would also like to use it to display, as soon as the user clicks on another link, a text field, in which you can retrieve the f...
asked by 28.07.2016 / 05:32
1
answer

How to work with more than one dropdownlist to mount a C # URL?

I have the following dropdownlist where in the first one the person chooses whether he wants rental or sale. Thequeryinthedatabaseisbeingdoneasfollows:publicList<Imovel>ObterCasaOperacao(stringcodigoOperacao){try{stringsql="SELECT i.Co...
asked by 22.08.2016 / 19:16
1
answer

Pre select last record in a DropDownList C #

I'm assigning a list to DataSource , and in this assignment I'm concatenating the code with the company name, however, it loads the list with the first selected item. How do I make the last record load pre-selected? My code looks like t...
asked by 03.06.2016 / 20:22