Questions tagged as 'webforms'

2
answers

Problems with SelectedIndexChanged asp.net C #

I added in the method where the list comes from the database: ddlSalas.Items.Insert(0, new ListItem("TODAS", "")); When I choose this option "ALL" in dropdownlist , a post on the page happens but it does not call the selectedindexc...
asked by 11.06.2015 / 20:16
2
answers

Error converting HTML to PDF

I need to make a PDF from a page HTML , but when I convert I get the following error:    Can not convert an object of type 'iTextSharp.text.html.simpleparser.TableWrapper' to type 'iTextSharp.text.Meta'. Follow the code: <%@ Pa...
asked by 01.11.2015 / 20:36
2
answers

Concurrent client side and server side requests

When using Ajax, I create an asynchronous request for my server. If I use N ajax requests simultaneously, am I still handling these requests synchronously on the server? If yes, to create an asynchronous request on both the client-side and th...
asked by 30.07.2014 / 20:24
1
answer

Replace WebForms with MVC

Is there any way, or just a tool, just to avoid rewriting, to replace code developed in WebForms and transported to MVC? In WebForms there is the runat = server , user control , asp: Label and etc ... Example of part of the code to be replac...
asked by 06.05.2014 / 15:27
3
answers

How do I get the value of the dynamically created TextBox?

I have a form that receives an amount of TextBox that should be instantiated, the page then generates the textboxes, however I do not know how I can get the values. hd = Request.QueryString["qtHD"]; mem = Request.QueryString["qtMem"]; hdnum =...
asked by 27.02.2014 / 19:40
1
answer

How to retrieve all checkboxes

In the code below, I have tried to retrieve all the checkboxes but I can not bring anything, I would not like to put ID, but retrieve countless selected checkboxes, what can I do? I just put 2 as an example: ( Code Behind ) <div class="f...
asked by 22.05.2017 / 20:25
1
answer

Response.Redirect () without generating System.Threading.ThreadAbortException?

At all points in the system that has a Response.Redirect("/Url.aspx"); It generates the exception of type System.Threading.ThreadAbortException , but it works. Is there a way to do Response.Redirect, without generating the exc...
asked by 07.08.2015 / 20:35
2
answers

jQuery inserts new rows in the form. How to populate them automatically?

I have a script that automatically adds lines to a form. For this I use jQuery. At each click of a button, jQuey creates a new line in the form to fill in new data. I need a field populated with information based on another field. For example...
asked by 08.07.2015 / 19:04
1
answer

Sort DESC asp

I have a grid in my application. The code for a grid column is: <Columns> <asp:BoundColumn DataField="DATA_CADASTRO" SortExpression="DATA_CADASTRO" HeaderText="Data Ativa&#231;&#227;o"...
asked by 12.03.2015 / 20:35
1
answer

Save data to the client for later use

I have a web form application where the user enters some values to perform an analysis. There are two item and quantity values, this data is in List<> which is used as DataSource of a GridView . They can have up to 50 i...
asked by 23.12.2014 / 15:16