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
-
0
votes1
answer58
viewsSave information from tabs
I have my canvas, as follows: each tab corresponds to a class, and database entity, and going in sequence there is a reference to them, ie na 02 tem referencia(fk) da 01, na 03 tem referencia(fk) 02…
-
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
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
votes1
answer50
views -
0
votes1
answer1270
viewsUpdate an ASP.Net web page
How do I update an ASP.Net web page? I have a page that has two GridView and I need this page updated every 5 minutes. Mine GridView are like this: <div class="GridMain"> <asp:GridView…
-
0
votes1
answer34
viewsDifference between repeater_itemdatabound and repeater_itemcommand
What is the applicability and difference between repeater_itemdatabound and repeater_itemcommand in a Peater?
-
0
votes1
answer298
viewsKeep gridview data source in post-back
I have a gridview that is filled by a web-service with data coming from SAP. It can return up to 2000 row with 30 columns. This content is always the same, so when running the web-service 10 times…
-
0
votes1
answer557
viewsHow to prevent browser from displaying previous alert and resend information?
Work in a WEB application . aspx that saves data in the database. The problem is that after recording this data and displaying a successful information to the user, if I do a Reload on the page the…
-
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
votes2
answers1007
viewsData validation with mvc Asp.net (edition)
I have a user registration where I use remote validation in the date Annotation to check if the user being registered already exists, my problem is in editing, as I am changing and using the same…
-
0
votes1
answer165
viewsMy Repeater does not render in the browser
I created a Repeater and I can’t render it. When I inspect the object, it doesn’t appear. I took the code above it, called Analyze registration data and repeated after the Reset and can view, but…
-
0
votes1
answer97
viewsConcatenate aps.net expressions with literal text
I have that expression: <asp:Label Text='<%# Eval("Analista") %>' runat="server" /><br /> The result is Approved or Disapproved. I would like to add the following word: by: In…
-
0
votes1
answer202
viewsHow to set a default page?
I downloaded a project, which when I’m going to run from this: The web server is configured not to list the contents of this directory. I’m new to this environment, what I have to set up? Note:…
-
0
votes1
answer2218
viewsOpen Modal Popup from another aspx page
How do I open a Modal Popup extender from another page? I am using a User Control to create this popup: Usercontrol ucModalInativar.ascx: <%@ Control Language="C#" AutoEventWireup="true"…
-
0
votes2
answers528
viewsButton event with Asp.net
I create a boot in Asp.net, put onclick "testBotao", and tighten F7, but it does not load the event, only the pageLoader. How do I capture the event?
-
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
votes2
answers780
viewsError while consuming ASMX Web Service
That is the mistake: An exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.ni.dll but was not handled in user code Additional information: The remote…
-
0
votes3
answers558
views -
0
votes1
answer355
viewsdoubts when mapping nhibernate
I have the following scenario: public class ExemploDTO { public virtual int Id { get; set; } public virtual List<PessoaDTO> Cliente { get; set; } public virtual ServicoDTO Servico { get; set;…
-
0
votes1
answer2993
viewsError there is a duplicated 'system.web.Extensions/scripting/scriptResourceHandler' section defined
I downloaded a project, and I wanted to import to my pretty much everything, but when copying and pasting your webconfig into mine, do it while running: Há uma seção…
-
0
votes0
answers172
viewsChange context to receive database information
I took a project from a Filemanager, which uses Handler and the same uses examples listing the directories and files of the project itself, put an example listing directory that already works, but I…
-
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
answer723
viewsStore list in Viewstate
I want to assemble a list of strings and save it to a viewstate, and use it later. Ex List<string> listaNomes = new List<string>(); foreach(var algo in TesteList) {…
-
0
votes0
answers185
viewsCalling web service via Ajax with focusout function
$("#<%=txtProduto.ClientID%>").on("focusout", function (event) { event.preventDefault(); $.post(AjaxService.Pessoa(<%=txtProduto.ClientID%>), function (data) {…
-
0
votes1
answer704
viewsQuery Mysql in Visual Studio does not return all data
I have a problem in Visual Studio, where in my database access class, I have a query that makes a query in my Mysql database, and returns only the last result. Therefore, when I test this same query…
-
0
votes0
answers210
viewsHow to save the state of a Treeview in ASP.NET / C#?
I have a treeview that is persisted in Database and, from the application, it is possible to add or remove items, both from TV and BD. Big problem is that I can’t find a simple way to save the…
-
0
votes2
answers1717
viewsHide/Display text fields in view
I have a table with dropdownlist and editorfor fields to fill in the user request. I need to add a new feature now which is: If the user selects a specific option in the dropdowlist 'Unit' two new…
-
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
votes0
answers109
viewsMultiple simultaneous sessions on ASP.net
I’m having a little problem to have Multiplus simultaneous users in an ASP.net web app with C#. When soon with another user the previous session is dropped. Could someone help me? How do I get all…
asp.netasked 9 years, 5 months ago Washington Lima 1 -
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
answer548
viewsHow to print a RDLC report on Asp.net
I have the rdlc created, and have a page aspx that has a print button, when clicking on print I want to call the rdlc I have created for printing. How do I?
-
0
votes1
answer32
viewsUpload files between different sites in ASP.NET C#
I’m developing an access area for the customer where all website administration is done through it. All pages are created dynamically by making requests in a specific file on the client’s website.…
-
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
answers68
viewsHow to make a web system run on a mobile device with IIS 7?
My tcc group is developing a system in ASP.net and CSS, where there is a server connected to a wireless router where the system will be accessed by tablets connected to this network, I am performing…
-
0
votes1
answer1103
viewsProblems publishing an Asp.net application on IIS
I am trying to publish my application on a Windows server 2012 with IIS 8. I have taken the step by step to go to "Site -> Add Website" and fill in the coordinates, paths and etc. I have deployed…
-
0
votes1
answer361
viewsHow to change page title in external link
In my application I have an external link to a pdf, is it possible to force change the title of the page? since an MD5 is coming as a pdf name and looks terrible in the title of the browser, it is…
-
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
votes0
answers20
viewsArchives of approval for Production
I made a change to an Asp.net page in homologation. Which files of the folders in approval do I have to send to the staff below to upload these changes to the page in production ? PS:I compiled and…
-
0
votes1
answer53
viewsStoring Dataview values in a List
I am doing the maintenance in a discount system of a customer, the same was already ready but not functional, only applied the validation of the discount if there was a single item. What I need is…
-
0
votes2
answers123
viewsImagebutton does not call 'Click' event
I have an Imagebutton inside a grid, when I click the button it does not call the corresponding click event. Any idea what might be causing this mistake?
-
0
votes1
answer418
viewsAsp.NET webservice with blank page on IIS 8
I have a webservice (asmx) hosted on Kinghost. After an update in IIS (from version 6 to 8) the webservice stopped working. When trying to access the webservice by the browser shows a blank page, it…
-
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
votes1
answer76
viewsJavascript popup does not see parent page fields
I have a query in a popup that the result is returned in a gridview. In gridview I have a button where I call a javascript function that inserts the result by correlating the return of the query…
-
0
votes2
answers545
viewsSummernote plugin fullscreen modal problem
I’m using the Summernote plugin for creating content within a system. But when I’m on fullscreen and try to add a link or image, the respective modal appears behind the bootstrap backdrop. I have…
-
0
votes2
answers311
viewsDifficulty to handle button event in the itemcommand of the Peater
I have a table in a Repeater. In this table I have a Button and a Linkbutton. It turns out I need to pick up which click event was fired from the button or the linkbutton. I tried to make an if, but…
-
0
votes1
answer105
viewsHTML embedded in C# dot net visual studio
I need to generate a dynamic HTML in a C# application implemented in Visual Studio. In case, I need to display the tag li as logged in user (Session). The code is: <%if (Session["usuario"] !=…
-
0
votes0
answers50
viewsDataset sent from one class to another
Is there any component Ado equivalent to a recordset that I can send from one class to another in c#?