Questions tagged as 'webforms'

3
answers

Print Items Web Page

I would like to know how to print a web page, but I would not like to print the entire page, I would like it to print the title, and some grids, which are formatted (you would need to print all GridView data without paging ). Unfortunately of...
asked by 11.05.2017 / 14:05
2
answers

Login with Asp.net 4.5 (Entity Framework)?

How can I make a Select using Entity Framework , and check if the registry exists? Example: txtlogin.text txtsenha.text Login table. user field password field valida() class created to execute the command and se...
asked by 23.03.2017 / 16:22
1
answer

Control 'ContentPlaceHolder1_Name' of type 'TextBox' should be inserted in a format tag with runat = server

I'm doing a job for college, an application web forms in Asp.net C #. I'm having a problem and so far everything was fine, but out of the blue is giving this error. I looked for some related things, and this piece ended up "showing" my web page,...
asked by 27.11.2016 / 21:13
1
answer

Add CheckBox dynamically

I have a project where when I click on a button, I want to pick up the text of 3% with different% and add them to a TextBox . So far so good, the problem comes up when I want to add these% automatic%, for the user to add more rows. He...
asked by 14.04.2016 / 14:40
1
answer

I need to do a validation on start date and end date with javascript

I need to validate the start date and end date ... So the end date can not be less than the start date, but since I started messing with javascript less than two weeks ago I'm knocking a little. It would be this case below: Both for DataInici...
asked by 10.12.2015 / 15:01
1
answer

Control with HtmlControl or HtmlGenericControl within GridView

I have an html tag inside a gridview: <asp:GridView ID="GridView1" runat="server" ...etc..etc <i class="fa fa-cloud-upload fa-lg cinza" runat="server" id="icon_Nuvem"></i> ... When the gridview is being populated I have...
asked by 06.10.2015 / 15:07
1
answer

Why does not the form validate the fields?

I am doing a validation of the registration screen so that it is reusable for the registration change screen, when registration is working correctly, however when it is the change it does not take /** * Funcao para verificar se é para...
asked by 05.11.2015 / 20:28
1
answer

Problem when viewing data from a grid within the code behind

In a GridView I'm trying to get the data for a row where checkbox == true . I can get the value of the checkbox, but I can not get the other values for the line. while (i < gvwNot.Rows.Count) { GridViewRow row = gvwNot.Rows[i];...
asked by 13.07.2015 / 16:36
1
answer

How to create a GridView

The examples I saw on the net none worked, or were very personalized. I just want a simple table with 4 columns that will be populated with data from a bd. The same will be within a simple modal: <div class="modal fade open" id="modalVersao...
asked by 16.03.2015 / 21:54
1
answer

How to call the SelectedIndexChanged event of a method

How do I call the SelectedIndexChanged event of a Dropdownlist in another method. Use WebForm.     
asked by 30.12.2014 / 12:36