Most voted "webforms" questions
Web Forms is a part of the ASP.Net web application framework. It is one of the different programming templates you can use to create ASP.Net web applications. Web Forms are pages that users request through their browser and that form the user interface (UI) that give their web applications their look and feel. The other model is ASP.Net MVC. Do not confuse when using tags.
Learn more…369 questions
Sort by count of
-
1
votes1
answer422
viewsFPDF - I need to customize the text that will be printed
I need the contents $pdf->MultiCell be customized(html) with bold, etc... <?php require_once( 'fpdf.php' ); $nome = @$_POST['nome']; // Sim, a supressão é perfeitamente válida neste contexto…
-
1
votes1
answer116
viewsWhy does each browser interpret/format a poorly formatted HTML differently than the others?
This week I came across a bug on a system. This system was developed in Asp Web Forms and on a given page has a input that’s like hidden. While performing a Post I realized that in Chrome and…
-
1
votes0
answers244
viewsThe specified value "2017-00-06" does not conform to the required format, "yyyy-MM-dd"
I have a field filled 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}$"…
-
1
votes1
answer193
viewsDeserialize Image in ASP.NET Webform
Well I am with a doubt about the deserialization of an image in webforms, I am working with Oracle database that is my context and using the Entity framework for image I am using BLOB, I was able to…
-
1
votes1
answer1350
viewsConvert file to Array of bytes
I’m trying to convert a received file into FileUpload (ASP.NET tool) for a array of bytes and then the array for a string. But when trying to use the Encoding Visual Studio accuses an error saying…
-
1
votes1
answer731
viewsOnchange function does not work
Good afternoon, I have a function that checks if the typed email exists in the bank, and if the email is valid. Follow the function: <script type = "text/javascript" > function…
-
1
votes1
answer317
viewsPass Aspx page values to Aspx.Cs
I have an Aspx page the following code which loads a list of items. It is working, the list is displayed normally. <table width="100%" class="table table-striped"> <tr>…
-
1
votes2
answers441
viewsError when connecting to oracle database using web programming on . net
When making attempts to connect to the bank I obtained the error according to the attached image. My application is web in . net, visual studio 2010, oracle sql database developed 3.1.07. My code…
-
1
votes0
answers31
viewsnhibernate oracleBulkCopy c#
According to the attached image, I have an attribute class accompanied by the method ListarMunicipio, where it has a list, in the method below I have public static void InserirOuAtualizar(Municipio…
-
1
votes1
answer174
viewsASP.NET Entityfraord - Grid with Pagination
I am building an Asp.net application using Entity framwork. To load the grid I use the following instructions: var lista = entity.Usuario.ToList().OrderBy(x=>x.nome); grid.DataSource = lista;…
-
1
votes2
answers686
viewsHow to place a button in a textarea in Asp.net, c#?
Good. I have the following draft of a contact form done on Wix.com but I wanted to put it in my Asp.net project as well.. So far, so good : My code is this:: <body> <style> textarea,…
-
1
votes0
answers198
viewsHow to consume json api with javascript?
[ { "_id": "5c31047849793040d06003f2", "title": "Amanda e Anderson", "slug": "Adicionar", "price": 58 }, { "_id": "5c3104aa49793040d06003f3", "title": "PPP", "slug": "deu certo", "price": 4550 }, {…
-
1
votes1
answer260
viewsHow to call a class method in webforms code-Behind?
It is possible to call a class method in the webforms code-Behind? Default.aspx: <div class="row" style="margin: 50px"> <div class="col-md-6"> <asp:TextBox ID="txtElemento"…
-
1
votes2
answers73
viewsError calling webmethod
I’m creating a webmetod that will make the autocomplete of some fields on my screen, however I’m getting error 500 <System.Web.Services.WebMethod>…
-
1
votes0
answers22
viewsSwap array type variable between 2 Webforms
I’m making a website in ASP.NET where I have an array type variable of type int in a Webform (we’ll call it Default.aspx.cs) and would like to pass this variable to another Webform (Data.aspx.cs). I…
-
1
votes1
answer42
viewsChange color Repeater cell
I’m making a system ASPNET c# WEBFORM, and food a REPEATER with information coming from the database. I would like a certain cell to have a certain color, according to information coming from the…
-
1
votes0
answers26
viewsHow can I place a fixed page on top of all the pages I open in Lectron?
I’m having a question about how to fix things up in Electron using js or some extension of Electron. Style any web browser. And even if you change to an internet url, continue fixed on top. Does…
-
0
votes1
answer149
viewsHow can I create a control that has subcontrols without explicitly adding a template?
I want to create a control exactly like a Panel. <asp:Panel runat="server"> Conteúdo <div>Content</div> </asp:Panel> I want to be able to put controls inside it without…
-
0
votes1
answer267
viewsGenerating fields by ASP.NET code
I’m making a web application with ASP.NET and C#. In this application I can register several items of the same type, so it has a text field and a button on the side to create new text boxes. I’ve…
-
0
votes2
answers1070
views -
0
votes1
answer186
viewsDropdownlist does not work within Detailsview
I have a DetailsView with several fields and a DropDownList that should update the field sexoAnimal with Male (M) or Female (F). I added a ControlParameter in the SqlDataSource, the parameter takes…
-
0
votes1
answer1027
viewsHow to return the value of an Entity Framework field c#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using…
-
0
votes3
answers335
viewsRepeater Onitemcommand event does not work
I’m having trouble with a Repeater on the webform, where the Onitemcommand event is not working. It should be triggered when I click on the linkbutton. Code aspx: <asp:Repeater…
-
0
votes2
answers459
viewsAccess peripheral devices through the browser
I am developing a web system for financial control is necessary to print tax notes in thermal/tax printer. It would be possible to integrate this device through the browser or I will be required to…
-
0
votes1
answer53
views@Html.Partial in Webform
Is there a way in Webform to use multiple @Html.Partial ? example the menu being a master page, the top another master page, the footer another master page? I know there is a Nestedmasterpage but if…
-
0
votes1
answer595
viewsCombobox which best method: Onselectedindexchanged via autopostback or Jquery?
I have the following Dropdownlist on Asp.net Webform <asp:DropDownList ID="DDL_Categoria" runat="server" CssClass="form-control" AppendDataBoundItems="true" > <asp:ListItem Value=""…
-
0
votes1
answer2527
viewsHow to show database data in Textboxes?
Hello! My scenario is as follows: I am developing a web application in C# ASP.NET, and I am having some difficulties to bring the database data (via LINQ to SQL) to the page controls. Below one of…
-
0
votes1
answer604
viewsProblem updating database data using LINQ to SQL
I am developing a C# ASP.NET application in which I search for certain database data, play them in a form, and by clicking 'Save', I want the bank to save the changes I made. I am using Linq to SQL.…
-
0
votes1
answer112
viewsHow to save selected fields in a C#Checklistbox?
My program contains two CheckListBox: the chkLstBoxTabela contains the tables of my comic book and the chkLstBoxColunas contains the columns of the table selected in chkLstBoxTabela, so that when we…
-
0
votes1
answer805
viewsHow to call the Selectedindexchanged event a method
As I call the Selectedindexchanged event of a Dropdownlist in another method. Webform usage.
-
0
votes1
answer67
viewsError with webforms "Process with an Id of is not running"
I am trying to run a webforms . net 4.5 application, however the error: "Process with an Id of XXXX is not running." is presented each time I try to run the application, where XXXX is variable,…
-
0
votes1
answer114
viewsConvert VB6 application to C# Webforms with Entity
I have an application in VB 6 and would like to migrate it to WebForms using preference c# with entity. I wonder if there is any tool that helps me in this conversion(migration).…
-
0
votes1
answer453
viewsModal popup does not work
Code from my panel: <div class="modal"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:Panel ID="Panel1" runat="server" > <asp:Button…
-
0
votes1
answer49
viewsASP.NET WEB FORMS Remove a <p> and its contents from a DIV
I have several DIVS that contain a < p >  ;< /p >. How do I remove this paragraph with space in Codebehind? (Without using JS or Jquery)
-
0
votes1
answer32
viewsProblem when creating Profilecommon
I have the following problem when creating my profile, someone can help me in what may be happening? My web Config is configured as follows. <profile…
-
0
votes1
answer1053
viewsCompiler Error Message: CS0433
Someone can help me with this mistake, I’m trying to create a profile with Profilecommon Build Error Description: Error when compiling a resource needed to meet this request. Examine the specific…
-
0
votes1
answer62
viewsChanging a Word document through an Asp.Net Web Forms application
Here is a question: in the current scenario, we have 10 Word documents that will be filled with information coming from screens. Which native component of .net or third parties, who make such…
-
0
votes1
answer452
viewsRetrieving values from my form
I am trying to recover the values of a form. This is the correct way to retrieve them to pass to my DAL? <div id="myModal_Veiculos" class="modal hide fade" tabindex="-1" role="dialog"…
-
0
votes0
answers22
viewsRepeater lists only 1 item in IIS
I have a table with Repeater which lists the items normally, but when I publish in IIS, only lists 1 item. Will there be a problem in IIS? Because the code is working 100%.
-
0
votes1
answer49
viewsSelect the Textbox value
It is possible, when entering a page, to leave the value of a textbox, and if the value is wrong, instead of deleting just enter another value that the previous value is automatically deleted?…
-
0
votes0
answers13
viewsDo I need to open an aspx in a mvc4 project is possible?
I have a MVC4 project, and I need to open an aspx page, which is a report from Report Viewer. This works by running locally with Visual Studio’s IIS, but going up to the server doesn’t work. What…
-
0
votes2
answers1264
viewsSend message to browser
I need to send a message like this to the browser: How can I do on a site made with C#, ASP.NET and Webforms?…
-
0
votes1
answer1269
viewsCould not load file or Assembly '.. ' or one of its dependencies. - Add a blank space on web.config back to work for hours
I have an administrative panel made in webform Asp.net C#. For a few days now, it started giving problems of the type Could not load file or assembly 'chat_megacorretor.dll' or one of its…
-
0
votes0
answers35
viewsHow to set or return the blank Datetimerpicker
How do I define or bring the datetimerpicker blank when starting the form and adding the date only when selected? I need to bring this blank component to add it to an employee’s admission date.…
-
0
votes1
answer92
viewsCrystalreports version 13.0.2000 does not export
I am with a project webforms . NET 4.5, with reports using the Crystal Reports version 13.0.2000. Reports do not export, do not explode exceptions, nothing, simply the screen makes a refresh of…
-
0
votes1
answer156
viewsWhat is the alternative to the showmodaldialog function?
On my system modal popups no longer work in Chrome or Firefox after updating the Jquery component. The application is Webform and has several popups and it is essential that they are modal. What…
-
0
votes1
answer401
viewsDynamically add Checkbox
I have a project where by clicking a button I intend to pick up the text of 3 TextBox and add them to a CheckBox. So far so good, the problem arises when I want to add these CheckBox automatic, for…
-
0
votes0
answers45
viewsHow to call a PHP method in HTML when giving Submit in a form?
I have a form where I insert some data,when I give Ubmit, I want to pass this data, as parameter of a method and already do the execution of it. Can someone explain to me how to do?
-
0
votes1
answer318
viewsHow to Reset a Gridview c# aspnet?
I have two tables(Datatable) different and need to use them in the same Gridview. But when I call Gridview on the screen it always takes the value of the first table. Does anyone know how to make a…
-
0
votes1
answer150
viewsWeb Questionnaire App in ASP.NET Web Forms
I did some research and couldn’t find the correct term to correct my mistake. I created a Appweb where the user chooses a subject in a DropDownList and this loads a questionnaire from the database.…