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
-
15
votes4
answers6318
viewsHow to display combobox-related value in the textbox?
I am doing a project in C# and SQL Server, and I need the item selected in the combo to display the corresponding values in a textbox. Follow the codes I’ve tried: private void…
-
14
votes3
answers12403
viewsGet MAC Address from application client machine
I would like to know the best way to get the MAC Address from the client of my Asp.Net Web Forms application. As it is a low level information, I believe it is not as simple as it seems.
-
10
votes3
answers1631
viewsConcurrency control in database insertion
I have a competition control problem in entering data from a table. The scenario is as follows:: There is a table that records daily data according to user requests, and this data cannot be…
-
9
votes2
answers747
viewsWebmethod is not called (fired) through the Pagemethod
I’m having trouble firing one WebMethod in a project created in Visual Studio 2013 (Webforms Application). If I create a project, for example, in Visual Studio 2008 and migrate to Visual Studio…
asp.net visual-studio-2013 webforms webmethods pagemethodsasked 10 years, 11 months ago Leonan Milani 141 -
8
votes1
answer3496
views -
8
votes2
answers9392
viewsSerialize object list for JSON: A circular Reference was Detected while serializing an Object of type
I’m trying to Serialize a list of objects to Json and have received the following error: An Exception of type 'System.Invalidoperationexception' occurred in Microsoft.Web.Extensions.dll but was not…
-
7
votes2
answers853
viewsHow to get Text from a Listview?
How can I catch the Text of my Label that is inside a ListView without using the FindControl (Item.FindControl("lblCodigoEdit") as Label).Text), or is access directly the value it has in mine…
-
6
votes1
answer1356
viewsAccess html objects in code in Asp.net c#
I have a page that contains objects Asp.net and html. How do I access design html objects in . Cs with C# ?
-
6
votes1
answer293
viewsSelect button with one click and only open with two clicks
I have a webform Imagebutton that represents directories on a grid using Peater. How to make with 1 click just select the button, and only open with two clicks? <asp:Repeater ID="rtInlineBlock"…
-
6
votes1
answer242
viewsGoogle Chrome sandbox
On some pages of a system I work on (I’m not the only developer) a message appears on Google Chrome as the image below: This only happens in Google Chrome, Firefox works normally. The test server…
-
6
votes3
answers3732
viewsHow to place two Ivs next to each other in Bootstrap
I’m still novice in web development and I’m having a doubt in my form to put the two lines of the form next to each other in responsive Bootstrap, knowing that each input will bring information…
-
5
votes1
answer529
viewsHow to remove json xml encapsulation returned by Webservice
I created the following method: [WebService(Namespace = "http://myDomain.com.br/PublicacaoService")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]…
-
5
votes2
answers8672
viewsAsp.net Webforms. Timeout error exceeded in SQL Server. How to resolve?
In an application ASP.NET Webforms who uses the SQL Server 2008 I am creating a screen that has a search field that works with requests AJAX a method of a Web Service asmx. To avoid bulk requests I…
-
5
votes2
answers1770
viewsDifference between the types of buttons
What is the difference between the following components ? <button type="button">Click Me!</button> <asp:button ID="cmdAvancar" runat="server" >Click Me!</asp:button>…
-
5
votes1
answer66
viewsParameterizing Dataset in C#
I created a search screen with a textbox, one button and a gridview. I would like the search results to appear on this Gridview but I can only do that with one Dataset. In this case I needed to find…
-
4
votes2
answers670
viewsWhat is the equivalent of Usercontrol in ASP.NET MVC?
In Web Forms we have UserControl. These controls have a code-Behind and a layout. They can be used in different projects/solutions without depending on other things. I want to create a control that…
-
4
votes3
answers629
viewsLog into page using the bank ID in ASP.NET
I need to make a page that can be accessed in the following format: www.exemplo.com/id/123qwe That one 123qwe is the ID of a database line, where I’ll get all the data to fill out the page. So far…
-
4
votes1
answer350
viewsDefault browser autocomplete does not work in my Webforms application
I’m using the Google Chorme and he’s got the option autocomplete enabled, so much so that I can store a login to the Facebook. However, in my application ASP.NET Webforms, on the screen of login me…
-
4
votes3
answers1705
viewsFileupload without refresh on the page?
I realized it takes one refresh on the full page to get the file from the server side. I would have some way without refresh to perform this operation? I know it’s possible with Ajax, as it would…
-
4
votes1
answer1537
viewsDifficulties writing a user friendly (global) web config url
I asked that same question in the English version but I was unsuccessful! I have an application that will be translated into three languages en/en/es. Until then I’ll use Globalresources, I have no…
-
4
votes1
answer66
viewsWhat are and how the following statements work in Web Forms pages: <% %>, <%# %> and <%: %>
I don’t know what they are or what to call them. Are they tags, statements? What are they? In practice, I noticed some characteristics. <% %> This statement accepts executable code, but…
-
4
votes1
answer2742
viewsDisable <Asp:Button after being clicked
Project in: Webform, C#, ASP.net I need to disable the button after being clicked. Today it is like this: <asp:Button ID="btn_Enviar" runat="server" CssClass="btn btn-primary" Text="Enviar"…
-
4
votes1
answer502
viewsCreation of dynamic controls in ASP.Net
I’m looking to create a component for a standard criminal record. In the project I am developing, I am using Web Forms, where I have my masterPage with the layout of the site (menu, header and…
-
4
votes1
answer495
viewsWhat are the positives of using Aspx View Engine instead of Razor?
When researching about ASP.Net MVC, I have always found all the examples of views with Razor (I don’t remember exactly if I saw any in aspx) and in the past I remember that it was possible to select…
-
4
votes2
answers5600
viewsThe underlying connection was closed: Unexpected error on a receipt
I have a web site that communicates with a WCF. This Wcf communicates with my "DAO" which is a Library class where I have the.edmx model for access to the bank. I referenced my DAO on WCF, and my…
-
4
votes1
answer829
viewsUrl friendly in ASP.NET Web Forms
I would like to know how to make URL friendly in C# ASP.NET. I tried to use in the file: global.asax but it didn’t work.
-
4
votes1
answer604
viewsAJAX request error - ASP. Net and Jquery
I have an aspx file where I created a script with an AJAX call to execute the method populaGridMembros on the table gwMembros, the method is working perfectly and returning a string in JSON format,…
-
4
votes1
answer502
viewsAuthenticate user efficiently and quickly (without setbacks, Identity x Manual)
I need to create a system amusing using a validation (user, password). I have experience with Webform, I started already studied a little MVC but still don’t feel safe to create a complete…
-
4
votes0
answers61
viewsUpdate problem of an Updatepanel
I have a page that contains several graphs. We use Google Maps to create them. The graphs are organized in dashboards. Page description: On the page contains a UpdatePanel responsible for dashboard…
-
4
votes3
answers563
viewsWhat does <!-- //--> mean in html / javascript?
I went through a problem where was presented a tag <script> and contained these HTML comment characters. Function example <html> <head> <script type="text/javascript">…
-
4
votes1
answer299
viewsHow to take a column in the database, perform a calculation and send it to the grid
I want to perform a calculation using the value of the VAL_VIDA_UTIL field of my BD and then save the result since calculation in a new variable VAL_DEPRECIACAO and pass to my fieldName, but I’m not…
c# sql-server webforms ado.net devexpress-asp.net-ajaxasked 8 years, 5 months ago Fernanda Ferreira 197 -
4
votes1
answer84
viewsCreate customizable parameter for Application Insights
In a Webforms project (C# - .NET 4.6.2) I am using telemetry Application Insights from Azure, I would like to send a custom parameter for statistics. Basically, I want to send Clientid to telemetry,…
-
4
votes2
answers2246
viewsHow to print from a web application to a local printer with C#
I need to program in web some resources that perform local impression, where text and commands are sent to a specific device without the user interaction. For example the issuance of labels on Zebra…
c# web-service webforms wcf impressionasked 7 years, 3 months ago Desenvolvimento Sistema Gestor 59 -
3
votes2
answers2181
viewsPass Javascript data to C#method
I need to get a user’s location, go to C, get his street data and show it on a label. I have the following code: Labels <asp:Label ID="lblMsg" runat="server" Visible="true"></asp:Label>…
-
3
votes2
answers1169
viewsSave form data in session
I created an access form for my administrative area, using a tutorial by Microsoft. Now I need to retrieve the login that he typed to enter and show it on an administration page, and also to make…
-
3
votes3
answers9419
viewsHow to use the Dropdownlist Selectedvalue value?
Next, I have a table "animals" with field "sex" (varchar(1)). In it I Seto M or F, for Male or Female. Use detailsView to show/edit these fields and would like to have a Dropdownlist in Edittemplate…
-
3
votes2
answers3712
viewsPreventing data forwarding when updating page (F5) in ASP.NET
Guys, I have the following problem: I have a web application made with ASP.NET and C#. In this application I have a simple entry registration system. After I register an item in the application, if…
-
3
votes2
answers2905
viewsAutomato for navigation in a Webforms application
Guys, it wasn’t the first time or the last time I had to implement an automatic routine that accesses a website or system created on the Webforms platform to capture information. It has been…
-
3
votes2
answers4464
viewsGetting the full path of a client file in ASP.NET
On the server side, you can get full path of a file sent by a client using the tag <input type="file">? For example, if the user sends the file C:\Users\Documents\a.txt, has how the server can…
-
3
votes1
answer172
viewsMulticliente (multi-tenant) application with Asp.net webforms and routes
I am developing a multi-client web application for a Saas and I would like each client to have a different URL to access their area in the application, for example: http://meudominio.com/cliente1…
-
3
votes2
answers728
viewsSimultaneous client side and server side requests
When using Ajax, I create an asynchronous request for my server. If I use N ajax requests simultaneously, I’m still handling these requests synchronously on the server? If yes, to create an…
-
3
votes1
answer105
viewsEncryption error in c#
Hello! I’ve tried to analyze the code but I can’t find the answer using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Web; using System.IO; using…
-
3
votes1
answer175
viewsGridview inheriting properties
In all my grid s I have to define many properties, I wonder if there is any way to define the properties only at one time in a single place. Grid example:…
-
3
votes1
answer274
viewsHow to develop an asynchronous mechanism to test pings?
I have a problem of slowness in a transaction that usually performs pings to check if certain IP’s are accessible. It turns out that this transaction tests more than 20 different IP’s, which makes…
-
3
votes1
answer1033
viewsUse Onblur in Asp.Net with problems!
I need to format and validate a data field using the property OnBlur of Javascript within the codebehind C#. The problem is that it executes the javascript function and does not return the value to…
-
3
votes1
answer157
viewsData overriding onClick command
Guys, I have a little problem in Asp.net webforms. And I made a nice pie. I know the solution to this might be a little simple, but I’m confused. Follows the code: public partial class Default :…
-
3
votes1
answer54
viewsASP.net to send text with enter
in Example.aspx.Cs protected void Page_Load(object sender, EventArgs e) { teste0989.InnerText="teste123<br>teste456<br>" } in the site appears the br as text and actually wanted to enter…
-
3
votes2
answers100
viewsHow to manipulate title="" by c#?
It is possible to put the text of the title="" attribute by c#? The title I intend to manipulate is: <asp:HyperLink runat="server" ID="linkTitle" CssClass="link_title search-result-link-title…
-
3
votes1
answer537
viewsInternationalization, Localization and Globalization
I have a project that needs to work with internationalization, where the web application needs to be available at least in portuguese and english, and perhaps also in Spanish. My biggest difficulty…
-
3
votes1
answer231
viewsFile download from filling a form
I’m trying to access a site, fill out your form and download the file, but I’m encountering some difficulties. That’s my code so far: #library's require(rvest) #website url <-…