Most voted "asp.net" questions
ASP.NET is a web application framework developed by Microsoft to allow programmers to build dynamic websites and web applications. Use the tag for traditional web forms, the classic template that provides the illusion of "stateful" pages. Do not use this tag for the style using the standard Model-View-Controller; use [Asp.net-mvc].
Learn more…1,881 questions
Sort by count of
-
1
votes2
answers269
viewsRegular Expression does not work correctly on webform
I have the following field and validator in ASP.NET Webform <asp:TextBox ID="txt_Senha" runat="server" CssClass="form-control" placeholder="Senha" TextMode="Password"…
-
1
votes1
answer74
viewsHow does the settimeout work('__dopostback( 'dropdownlist 1 ' ')' 0)?
i would like to know how it works because I am trying to learn, and I am with some doubts, I am beginner in this subject I am reading about javascript a few days ago. I would like to know how the…
-
1
votes2
answers5074
viewsEncoding ASP Classic
I have an application in .asp and was having problems with special characters, they were printed on canvas in a totally unnatural way. To solve the problem, I applied: Response.CharSet =…
-
1
votes0
answers467
viewsC# Desktop System Integration with ASP . NET WEB System
I have a C# Desktop System and the data is recorded in Sqlserver. How can I write this data simultaneously to a WEB system developed in ASP . NET ?
-
1
votes0
answers82
viewsHow to create a Cellvaluechanged event in Gridview ASP.NET
I have a dynamic GRID, which after loading allows the user to modify it, changing the values of the columns by dragging the objects (DIV) between them. In Winforms, Datagridview has an event called…
-
1
votes1
answer1121
viewsShow only one record of each ID
I have a table Clientes and a ClientesTel. I need to present a list where the Código do Cliente, Nome, Telefone e o email, but by the structure I can have several phones. Follow the SQL I’m trying…
-
1
votes1
answer875
viewsHow to send an object to an Asp.NET C#webservice?
I need to send an object from a class that I created to a webservice, but when I call the method passing the object it to the types are incompatible. I tried to receive the object as Object, but it…
-
1
votes1
answer177
views -
1
votes0
answers232
viewsHow to maintain the current state of Gridview with Detail jQuery after Post Back
I am using the following solution for my grid: http://www.aspsnippets.com/Articles/Build-Master-Detail-GridView-using-jQuery-in-ASPNet.aspx This solution makes a grid appear and unlearn as it is…
-
1
votes1
answer116
viewsCustom Element Web Forms
How can I make a custom element in aspx that I inherit DropDownList? I wish the element would stay that way when I call it: <componente:DropPersonalizado runat="server"…
-
1
votes1
answer904
viewsHow to recover all the events that are in Fullcalendar?
I have a page that has a list of events that can be dragged to a Fullcalendar. After dragging all my events to Fullcalendar and clicking the finish button I want to get a list, or something like…
-
1
votes0
answers218
viewsAccess Database File, SYBASE
I need to remove the data from a database file (.db) that I was told is SYBASE, the client needs to migrate data and I need to access, does anyone have any idea where to start? because never heard…
-
1
votes2
answers114
viewsReceive variable value in 'Where in'
In my procedure I have the following variables: @Codigo VARCHAR(MAX),@cont as int, @DataPago as VARCHAR(10) Via C# application I am passing the values as follows: y1.Parameters.Add("@Codigo",…
-
1
votes1
answer686
viewsHow to recover the ID of the selected element in Asp:Repeater via javascript?
I have a asp:Repeater and need to recover in javascript the ID of the item referring to the record displayed in asp:Repeater. Take a look at mine asp:Repeater <asp:Repeater ID="rpt"…
-
1
votes1
answer318
viewsReport Viewer with object dataset
Hello, I’m wanting to assemble a report in Reportviewer but I wanted to use an object as a data source, I saw some articles on the internet but I can’t make Reportviewer find my object to select, it…
-
1
votes0
answers68
viewsDNVM, DNX, and DNU what are they for?
With the ASP.Net 5 Eventually, these new models appeared. This new template also provides us with command line tools to manage the choice of the . NET, library packages, and runtime environment…
-
1
votes1
answer301
viewsWhat to use to create web site and android app
I want to create a website to host manga or link the sleeves of Fansub. Let’s say a Manga Host and create an app on android to visualize the sleeves without having to enter the site. How can I do…
-
1
votes1
answer143
viewsDifficulty with Repeater using Asp.net webforms
I’m having trouble dynamically rendering data into one redepeater in the Asp.net webforms. I feed the datasource from the database record, and in html, I need to include the tag </div><div…
-
1
votes2
answers177
viewsthe onKeyUp event of the java script influences the Customvalidator Function
I have a question, the onKeyUp event of the java script influences the Clientvalidationfunction property of the Customvalidator. I am maintaining a page here at the company, and I need to validate a…
-
1
votes1
answer347
viewsChanging a linkbutton’s Text attribute inside a table in a Retpeater
I have this linkbutton: <td><asp:LinkButton ID="lkbEnviarDocumentos" CssClass="acessos" Text="Documentos" runat="server" /></td>} %> When that condition is true…
-
1
votes1
answer133
viewsRemove "www" from domain by forwarding 301
How do I redirect a www.dominio.com.br for dominio.com.br (www-free)? I’m using Asp.net mvc.
-
1
votes1
answer509
viewsHow to change web.config when running Deploy?
I have an approval and production environment in the cloud but I do Deploy in File System. I have to enter some parameters and change the connectionString for each of these environments. Examples of…
-
1
votes0
answers166
viewsHeader and Footer in all reports - Reportviewer
How to put standard header and footer in all Reportviewer reports of my Asp.net application?
-
1
votes1
answer225
viewsUse Itemcommand in C# of a listview
I’m working with a ListView in which it presents the items in a disorderly list and as links. Under the ListView has the "CREATE" button to insert a new item into ListView. I managed to get that…
-
1
votes1
answer872
viewsHow do you popular a Treeview with a bank list?
I have a TreeView static representing folders and files in this template: <asp:TreeView ID="TreeView1" runat="server"> <Nodes> <asp:TreeNode Text="Diretorio1" Target="_blank">…
-
1
votes1
answer301
viewsPostback checkbox Asp.net with Switchery plugin
I’m putting together a list of records in a table with Asp.net. I create a checkbox for each line to perform a postback action every time the checkbox is checked or unchecked. I use the Switchery…
-
1
votes0
answers153
viewsWhat is the best ASP.NET MVC 4 authentication method?
I’m having doubts about how to implement a better form of authentication, which is safe and allows "sessions" or "cookies" with different names, making it possible to create an authentication method…
-
1
votes1
answer81
viewsHow to set Title in a`img`?
Is there any way to set the title (Text) of the component img in the code behind? <tr> <td colspan="7"> <img id="ProximoMes" src="../Images/Icons/dright.gif" /> </td>…
-
1
votes0
answers100
viewsUrl ( ROUTE) with NAMES and not ID
How can I dynamically change a URL in a BD search of Id’s by NAME to become a friendlier URL (SEO). My URL today: http://meusistema.com.br/Achei/26/8717/1/2/3 - being the 26=STATE,…
-
1
votes1
answer97
viewsHow can I create a screen with different views for report c#
is the following have a system that has some reports wanted to make a single screen (webForm) and as the user makes a report call the screen generates this report and shows on screen.
-
1
votes1
answer876
viewsHow can I run a . rdl (Reporting Service) file with Report Viewer without using the server?
Good Afternoon, I am in need of a solution to run the . rdl local files without using the Report Services server, I need to use the local file. The goal is to use existing reports, with SQL Server…
-
1
votes1
answer331
viewsCheck that framework 3.5 is installed on the machine
I have to perform a function in C# to check that framework 3.5 is installed on the machine but not using Registry.LocalMachine.OpenSubKey("Software\Windows\Microsoft.NET\..."), because this function…
-
1
votes1
answer31
viewsHow to use a table in the database with different fields of the model layer?
For example, I have a table where the field in the bank called COD_CLIENTE, but in the model layer it is ID_CLIENTE, how to access this value without changing the name of the in the VB.net? Partial…
-
1
votes1
answer552
viewsHow to make a chart grouped between bars and lines with google Chart and export to pdf (C#, MVC)
It would be something like the image below: Vlw guys…
-
1
votes1
answer114
viewsWhat is the difference between Formsauthentication createPersistentCookie true or false?
In an ASP.NET Web Forms application that uses Formsauthentication on Login would like to know: What’s the difference in using Formsauthentication.Redirectfromloginpage with createPersistentCookie…
-
1
votes1
answer43
viewsPrograms and/or extensions that "decompile" Dlls from an ASP site
Does anyone know of a program or extension that can do a sort of "decompiling" of DLL files (which contains classes of a website) in CS and ASPX.CS files? For now, I only know of the . NET…
-
1
votes1
answer63
viewsFrameworks section of project.json
In ASP.NET projects the file 5 project.json contains some important project data such as dependencies on other packages. It turns out that this file has a "frameworks" section that in projects…
-
1
votes2
answers134
viewsDatabase server in Azure
I created a database server in Azure in the US. Before, my database was in Locaweb. In Azure, the queries to the bank became slower. I tried to create a server here in Brazil, It appears the…
-
1
votes1
answer615
viewsDrag and Drop - Javascript or Jquery
Good morning to you... I was challenged to convert a C# Desktop application to Web, but I have no knowledge of ASP.NET, Jscript or Jquery. And among the components I need to adapt is a DRAGDROPTEXT.…
-
1
votes1
answer89
viewsFeeding codebehind list and displaying value in Asp
I am for the first time having deeper contact with an application in VB.NET. In this case, I need to feed a list that I am 'turning into an object' and later, display it on my Asp. I’m usually used…
-
1
votes2
answers94
viewsAzure Shared App Service
Good morning, everyone ! I am developing an entertainment portal where you will have images and text (e.g., Earth or UOL), using ASP.NET and sql-server. I was looking into Azure and I came up with a…
-
1
votes0
answers50
viewsHow to use paging in Asp:datalist?
Hello, I found some codes on several websites, only I did not find a method to make pagination on Asp:datalist . I would like to have the numbers below, option of last page, first page. Follow the…
-
1
votes1
answer567
viewsPlacing a dynamic Youtube video in an <iframe> (Asp.net)
Good night! I am trying to put a youtube video based on a url saved in an sql database, the problem is that the way I thought of putting, works only with some static url, in the following way:…
-
1
votes1
answer249
viewsEnable Iframe in Asp.net application
I have an Asp.net application and I need to put it inside an Iframe. Turns out it gives Chrome console error: Refused to display 'domain' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.…
-
1
votes2
answers570
viewsIoc with Ninject
I am developing an application using Ioc and Ninject for dependency injection, and came across the following problem: When uploading my application to the server I got the following error: Someone…
-
1
votes0
answers541
viewsPDF in ASP.Net c#
I need to display a PDF file that will be on my server or bank (I haven’t decided yet) on a web page, made in ASP.Net C#. The problem is that this file has to be all "blocked". The user cannot…
-
1
votes1
answer428
viewsFileupload returning the same file from several selected files
I have a Fileupload that I select several files and I save in the directory, but I realized that his Filebytes, repeats equally in all files. if (FileUp.HasFiles) { foreach (HttpPostedFile…
-
1
votes0
answers1347
viewsAutomatically log into a web-site c# Programmatically
The company where I work has 3 websites both with login and password I would like to know something in c# NET or Javascript that is from a redirect link logged in. 1 Step: Access Site 1…
-
1
votes1
answer356
viewsGeneric class for CRUD
I have some common CRUD features in the database, such as cadastrar, buscar um registro, buscar todos os registros and excluir. For this, I am currently implementing a manager class each database…
-
1
votes0
answers46
viewsRefresh defaul or index . aspx page in browser
Hello. I modified the default.aspx page on my website hosting but the browser keeps reading the default.aspx old (which is in its cache). This will probably happen in my clients' browsers. Typing…