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
votes3
answers5248
viewsHow to open a link in a new aspx tab
I’m trying to open a new page in a different tab, through aspx, I got a code on the internet that does this, however, it only works with clicks. follows the code…
-
0
votes1
answer362
viewsReference to styles and scripts in Master.Page using Resolveurl
In Master.Page I make references to styles and scripts that will be inherited by other pages through Resolveurl. <script src="<%# ResolveUrl("~/") %>Scripts/jquery-1.11.1.js"…
-
0
votes3
answers1728
viewsBack to page you called
Is there any way I can make a code on a button come out, make me return to the page you called? Fixing the page does not give, because this page(query process) is called several other. I did this…
-
0
votes1
answer577
viewsDisable Masterpage Menu from contentPage
I have a small menu on the Master Page: <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="INTEGRASYS.SiteMaster" %> <!DOCTYPE html> <html…
-
0
votes1
answer88
views -
0
votes3
answers105
viewsUsercontrol to control Logon Schedules
How could I do in a user control of Visual Studio a screen similar to this image below, in a ASCX(HTML,CSS,JS): I tried with several <div>, but I think it would be a very long processing,…
-
0
votes1
answer266
viewsScript instability to hide/show fields
I have the following script: @Scripts.Render("~/bundles/jquery") <script> $(document).ready(function () { $('.ocultar').hide(); $('#dn').change(function () { if ($("#dn").attr("checked",true))…
-
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
votes1
answer74
viewsAssemble link only when there is data
I have a webforms application. In this application I have this line in my Asp.net. <strong><a href="/UpLoads/<%# Eval("DsPathDocumento")%>" class="linkUpload"><%#…
-
0
votes1
answer251
viewsHandling JSON with Asp.net Web API
Hello, I’m setting up an educational application where I have a course schedule. In this project I am using a jquery calendar, and this one uses a json to assemble the dates that has scheduled…
-
0
votes0
answers549
viewsAsp.Net Questionnaire
I am creating a system of evaluations, where teachers will feed a database of questions that will later be part of activities that will be made available to students. My question is when to present…
-
0
votes1
answer381
viewsHow to fill Textboxes?
I wouldn’t want to use several if's to control a method of mine, unless there is no way to do it without the if's. I write in a list, the return of the BD that may or may not have banking…
-
0
votes3
answers3776
viewsHow to run a jquery/javascript function only in the page load and avoid postback?
Hello. I have a function to "create" a Accordion of jQuery UI in my div. Turns out inside this mine div there are several controls that make post on the page. What I want is that by making a post on…
javascript jquery ajax asp.net ajaxtoolkitasked 9 years, 9 months ago Leonardo Ribeiro de Aguiar 105 -
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
answer526
viewsDoubt about the use of multiple user control on the same page
The most difficult thing here is to ask the question the right way not to get downvote, but come on. I will try to explain it well, because doubt is complex or boring. I will ask punctual questions…
-
0
votes1
answer391
viewsProblem accessing dynamically generated ASP.NET field data
I am developing a website where there is an administrator for contact forms, IE, the client can create fields for this form. So far so good, the registration works well and I can draw the form…
-
0
votes2
answers224
viewsDropdownlist calls page load
I have a dropdownlist that takes data from the bank sql server. I carry that dropdownlist in page_load within a if(!IsPostBack){} and from what I understand of !IsPostBack, it only goes there if…
-
0
votes2
answers1568
viewsHow to display a modal using the c# and bootstrap button?
If you use the <button type="button" data-toggle="modal" data-target="#ConvenioOk">Teste </button> modal opens. But I have to use the C# button due to the event. The button calling the…
-
0
votes1
answer418
viewsHow to get bank reports through web application?
Where I work there are some procedures in the database (SQL Server 2008) that take hours to run and return large amounts of information that are always copied to a spreadsheet and sent to the end…
-
0
votes2
answers1350
viewsRemove a column from gridview
I’m implementing a functionality in a project using Asp.net mvc and I’m trying to remove some columns from a gridview that I created in my application, the gridview datasource is a table in the…
-
0
votes1
answer169
viewsHow do I use the web api for controllers and MVC for view(Front-end)?
hello, my problem is this, I’m doing an internship test and the guy asked to do an Asp.net project with mvc only for views, and web api only for controllers and another layer for the bank only that…
-
0
votes1
answer39
viewsRadiobuttolist does not obey the selected Selectedvalue
I have this Radiobutton: <asp:RadioButtonList ID="rdlCpfCnpjFornecedorBemNovo" CssClass="cPFCNPJRadioButtonList" runat="server" RepeatDirection="Horizontal" AutoPostBack="false"…
-
0
votes1
answer70
viewsNuget package on local IIS or intra
I set up the nuget local and worked very well, both on my machine and on the network. What I want is to put the packages(DLL) in the IIS, so that when passing the address(URL) where are the DLL's,…
-
0
votes0
answers48
viewsRegistration tool
I have an application with about 30 basic registers, currently I use a tool in . Asp in which, I configure working with Request I have a generic page acting on all registration. Currently it is…
-
0
votes0
answers228
viewsDifficulty mounting calculation with jquery
It was made a jquery function by a fellow designer, to meet the following need. I have a table, which works inside a Repeater, in which it works as a grid. This table has 4 <TD>. There is a TD…
-
0
votes1
answer362
viewsThe type or namespace name 'Ajaxcontroltoolkit' could not be found in the global namespace (are you Missing an Assembly Reference?
I have a problem when publishing or compiling the project, the following error appears: The type or namespace name 'Ajaxcontroltoolkit' could not be found in the global namespace (are you Missing an…
-
0
votes1
answer121
viewsHow to improve Asp.net Membership security?
Is there any way to protect that cookie that is evident when logging into a website that uses Asp.net Membership ? I know that just copy it to "clone" the login session and this way is very…
-
0
votes1
answer114
viewsDifficulty hiding part of a form with Usercontrol
I have a form called frmCadastroBens that declares a Usercontrol, which I call wucCadastroBens. In this form I register the UC like this: <%@ Register src="WUC/wucCadastroBens.ascx"…
-
0
votes1
answer163
viewsProblems with sorting within a Repeater
I have to: <asp:Repeater ID="rptDocumentosRepeater" runat="server"><%--onitemdatabound="listaDocumentosRepeater_ItemDataBound"--%> <HeaderTemplate> <legend…
-
0
votes0
answers195
viewsMultiple Models in an Asp.Net MVC#
I’ve had a question for a month. I have 2 tables or Models and I want the view to be manipulated, such as: view your data as they leave the BD and also insert data in the same tables. I saw many…
-
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
votes2
answers1180
viewsLimit file size
I created a file import method. I would like to know how limit the size from the uploaded file to the server.
-
0
votes1
answer35
viewsClickonce does not receive last update
I have an application in Winforms, posted on my app server. When I try to install the latest ex version. 1.1 by Clickonce, the customer machine does the installation of version 1.0, which in this…
-
0
votes0
answers85
viewsConsume file sending service
I have basically a c# service that was made to receive a file, what I want is to use this service, I created an Asp.net page with a fileUpluod, and I wanted to put it to work, as I do? Class of…
-
0
votes2
answers150
viewsmake a component in a Repeater get enabled=false
I have a button inside a Peater. As it is in a Peater, it only appears in the Databind() of the Peater. Using the variable and the event, I can get to that component like this: protected void…
-
0
votes2
answers2296
viewsRead multiple lines from a file in parallel with c#
I have a file with almost 700mb that has numerous lines with Json within it. I need to treat every json line-by-line and insert them into my database. The point is, today I’m using the following…
-
0
votes1
answer2827
viewsConsume Webservice WSDL
Good afternoon, I am trying to consume a Webservice using ASP.NET, however, after adding its reference and executing the method, the parameters return null, generating Exception. I tried to run…
-
0
votes0
answers552
viewsUpdatepanel does not update
I have the following updatePanel: <asp:ScriptManager ID="ScriptManager1" runat="server" ChildrenAsTriggers="true" > <Scripts> </Scripts> </asp:ScriptManager>…
-
0
votes0
answers45
viewsWhat is the best way for a new system to communicate with an Asp . NET system?
I have a client who is looking for a new website that communicates with the database of a system that he already uses in the company (implemented in Asp .NET). It is important the integrity of the…
-
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
votes1
answer366
viewsHow to customize the attach file button in aspx
I’m having trouble changing the text of the file attachment button. My button has the text like this: I wanted to change the text of "Search..." Could be how? I’m doing on Asp.net. Follow the upload…
-
0
votes2
answers1374
viewsCount number of checkbox selected
I have a grid with Repeater: <asp:Repeater ID="rtInlineBlock" runat="server"> <ItemTemplate> <div class="block"> <asp:HiddenField ID="idDirectorio" runat="server" Value='<%#…
-
0
votes1
answer1909
viewsAsp.NET + Pagseguro
Good morning, I arrived at the moment you need to add the forms of payment. and I want to put Pagseguro. What’s the first step to doing this? Where do I have to implement the pagseguro classes in my…
-
0
votes1
answer372
viewsAspnet change textbox characteristics dynamically
For testing I created a button which calls a function in javascript through onclick(). In this function I would like to change for example the border color of the textbox, even better would change…
-
0
votes0
answers47
viewsJavascript items disappear when postback the page
I’m making a website and copied to my project a calendar. The calendar is here: https://almsaeedstudio.com/preview in the calendar tab. I have everything done as it is there and I can create the…
-
0
votes1
answer197
viewsHow to create a Gridview
The examples I saw on the net did not work, or were very personalized. I just want a simple table, with 4 columns that will be filled with data from a comic. The same will stay within a simple…
-
0
votes1
answer163
viewsAre the MVC paradigms and Webforms (with code-Behind) mutually exclusive?
My doubt stems from an instructor’s explanation that the MVC standard would apply to the presentation layer, but upon encountering this other question and answers I started to believe that either…
-
0
votes0
answers201
viewsHow to put tags in a textbox by Asp.net?
I tried with Bootstrap like this: <!-- Bootstrap Modal Dialog --> <div class="modal fade open" id="myModal" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog">…
-
0
votes0
answers421
views'Msajaxbundle' is not a valid script name. The name must end with.js'
I started a project using framework 4.5 and unfortunately I had to return the version of the framework to 4.0, I changed all the necessary libraries but now that I have returned the version to 4.0…
-
0
votes1
answer55
viewsI created my project, I’ve been editing every day, and recently out of nowhere he failed to recognize an existing namespace
I created my project in Visual Studio 2013, I’ve been editing every day, and recently out of nowhere it failed to recognize an existing namespace. The namespace appears in red with the message "The…