Questions tagged as 'webforms'

0
answers

The specified value "2017-00-06" does not conform to the required format, "yyyy-MM-dd" [dated]

I have a field filled in with date: <asp:TextBox ID="txtValidadeIni" runat="server" CssClass="form-control" MaxLength="10" type="date" name="date" pattern="[0-9]{2}\/[0-9]{2}\/[0-9]{4}$" min="1970-01-01" max="2100-02-18"> </asp...
asked by 20.11.2017 / 15:39
1
answer

How to change the value of a work in asp.net via javascript?

I need to change the text of a label side by Javascript and then reload the page Follow the label code <asp:Label runat="server" ID="ValorMax" Visible="false">10</asp:Label> You need to put this javascript butto...
asked by 08.10.2017 / 23:15
0
answers

FPDF - I need to customize the text that will be printed

I need the content $pdf->MultiCell to be personalized (html) with bold, etc ... <?php require_once( 'fpdf.php' ); $nome = @$_POST['nome']; // Sim, a supressão é perfeitamente válida neste contexto $horas = @$_POST['h...
asked by 22.09.2017 / 13:25
0
answers

Open Modal Code Behind

I have this modal and need to open it in the code-behind. I'm trying to JavaScript but it's not working, follow the code: $(document).ready(function () { //seleciona os elementos a com atributo name="modal" $('a[name=mod...
asked by 14.08.2017 / 17:38
0
answers

Doubt HeaderFixed GridView

I'm using this code to leave the top of the GridView fixed, however it's not responsive, and it's a little bit missing to fully populate the grid. <script language="javascript"> $(document).ready(function () { var...
asked by 09.06.2017 / 14:39
1
answer

Do not hide div when performing function

Hello, I'm doing a college project where I have to use web forms. By default in my project I have a div that is like none by default in css, and inside this div is a small form, as follows: NOTE: I forgot to mention that this form is opened b...
asked by 25.04.2017 / 22:46
3
answers

Page rendering asp.net DisabledCssClass

I have the following problem, I have this code on a page: <div class="modal-footer"> <asp:Button runat="server" ID="btnCancelar" Text="Cancelar" class="btn btn-sm btn-danger" data-dismiss="modal" Width="90px" /> <asp:But...
asked by 13.01.2017 / 19:39
1
answer

Exception when adding usercontrol more than once

Hello. I have a newsletter user control and it is added in several places within the project, for each page it is called, a property is set to insert the email into a certain group of emails (% with%). It turns out that now beyond the internal p...
asked by 25.11.2016 / 13:29
0
answers

Button click event, added dynamically, does not work

I'm working on a page that loads a list of items into a GridView . Content is loading normally, but there was a need to add a cell with text and two buttons. With the code below you are adding the elements, however the click...
asked by 14.09.2016 / 21:08
1
answer

How can I use WebBrowser in web forms asp.net c #?

I'm trying to use WebBrowser in ASP.NET C # My question and log on to a site using it using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Web; using System.Web.UI; using System.Web....
asked by 20.09.2016 / 03:13