Questions tagged as 'webforms'

1
answer

Convert VB6 application to C # WebForms with Entity

I have an application in VB 6 and would like to migrate it to WebForms preferably using c# with entity . I would like to know if there is any tool that will help me in this conversion (migration).     
asked by 23.02.2015 / 18:21
1
answer

How to call the 'OnClick' event in the code behind?

How can I call the OnClick event in code behind of a dynamically created button? I'm trying the following way, but I'm not getting it. void MontarHtml(List<DocumentoImagens> DocImagens) {...
asked by 17.11.2015 / 14:52
2
answers

Validation of WebForms fields

I am setting up a registration page with webforms , I need to do the field validations, but I do not know if it is better to do it by the% method of the record button > or if there is some way to call a onclick function to validat...
asked by 21.03.2016 / 18:16
2
answers

Paste Value Boolean Column GridView

I have GridView filling correctly, however I need to get the value of column 5, which is of type BIT in database (SQL Server). In every way I try, it informs error, I already tried to pass to a variable of type bool , pass...
asked by 17.04.2017 / 15:55
1
answer

Combo or Dropdownlist display a Text according to its value

I do a search on my DB and bring, say, the number 237. This is the value of my Combo that is equivalent to the text Bradesco S / A. So I would like the Dopdownlist to display this text Bradesco S / A when I pass the value (237). I can not make i...
asked by 30.12.2014 / 13:00
2
answers

Modal does not open after using $ ('. modal-backdrop'). remove ()

I'm working with WebForm, using MasterPage. My child page is inside the UpdatePanel , via C # I call opening a modal within another modal, but each modal opening darkens the background, and when I say close the modal until more date only the...
asked by 07.12.2017 / 13:11
1
answer

How to display dynamic images from a ListView?

I created a div with a ListView where CheckBox and a Image in> Page_Load . I need to click on one of the CheckBox by selecting from the image, it will be created dynamically in another Div , and at most the user can select 4 images...
asked by 27.10.2015 / 13:21
1
answer

Insert MYSQL in Web form C # - I can not insert anything

I'm trying to make an insert in my bd from an app from the college I'm developing. However, I'm having difficulties. Getting the texbox values protected void button1_cad_cliente(object sender, EventArgs e) { Clientes cl = new C...
asked by 22.09.2014 / 05:53
1
answer

How to use or add aspx pages in an Asp.Net MVC project

Can you use or add to my project that is in Asp.net MVC a page that is ready in webforms (aspx and cs)? If yes how do I add the page?     
asked by 10.09.2015 / 22:17
1
answer

How to pass an interpreted parameter on the server to a javascript function?

I am creating a control ascx that will have multiple impressions on a same page. In this control, there is an image that I want to execute a javascript function when it is clicked. For example, like this: <asp:Panel ID="div...
asked by 30.05.2018 / 22:04