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
-
2
votes1
answer41
viewsText property is empty in the gridview cell!
I’m using a gridview and I need to get the content of the line the checkbox is on checked==true. I can catch the state of checkbox, but the text property of the cell is coming in white. Follow the…
asp.netasked 9 years, 2 months ago Germano Sampaio 421 -
2
votes3
answers106
viewsMore attributes in Appsettings
You can add other values to AppSettings without breaking with the application? Standard values: <appSettings> <add key="Nome" value="ValorTeste" /> </appSettings> I’d like to leave…
-
2
votes1
answer1432
views -
2
votes1
answer307
viewsChanging a Label control when changing a textbox control
I have a textbox control that is used to receive a CPF or CNPJ and in it and made a check to accept only numbers. The label that is in front of the textbox only appears when the page is saved and…
-
2
votes0
answers513
viewsSend a list to a web api using $http.put from Angularjs
I’m having trouble sending a list using the $http.put method from Angularjs, I can send an object normally, plus a list is not following, someone has some example code so that I can take this doubt…
-
2
votes1
answer87
viewsHow to read the IPTC header of an image through C#?
How to best read the IPTC header of an image ? I have the following image and I needed to read her description (for a database of images), but I have already researched many ways that for me were a…
-
2
votes1
answer769
viewsHow to place two or more Google Charts on the same page using JSON and Asp.Net
I have the following code that works very well and generates a Google Charts, I would like to know how I can put 2 or more Graphs on the same page? I wonder if it is necessary to repeat this call of…
-
2
votes1
answer366
viewsHttpcontext receive parameter from jQuery
I’m having a hard time getting a parameter from a registration form to an . ashx. This is a simple form that will receive registration data and upload a resume. The upload script I downloaded from…
-
2
votes2
answers308
viewsASP.Net - Make Page.Uiculture return culture in "en-BR" format
Was defined in the Web.config globalization: <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="pt-BR" uiCulture="pt-BR"/> However, when I read the Page.UICulture get…
-
2
votes1
answer295
viewsJquery Datatable does not work
I created a table on my system using the jquery datatable library, but it is not working. At the end of the view I made the code declaration in javascript, but the style is not applied. Follows code…
-
2
votes1
answer819
viewsDate validation in the Asp Net Core model?
I have a model and wanted to validate the final date (which should be equal to or greater the initial date) public class MyModel { [Key] public int ModelId { get; set; } [Display(Name = "Início")]…
-
2
votes0
answers112
viewsEdit XML via Treeview WPF Node - C#
I have a question, I have a code that creates a Treeview dynamically through a code c#. A TreeView was created in WPF. My goal is to create a function that opens an item XML and created a TreeView,…
-
2
votes1
answer1773
viewsHow do I place social media links to share a post link?
I have a question. I don’t know much about ASP.Net, but a friend of mine asked for help to implement some social networking buttons on his TCC site. His TCC is a news portal, like any other. He…
-
2
votes1
answer3703
viewsError: Process or Function has Too Many Arguments specified
Criei uma procedure para popular uma grid view: create procedure [dbo].[spc_listaafiliadosadmin] ( @nome varchar(100), @login varchar(100), @cpf varchar(100) ) as begin if(@nome is not null) begin…
-
2
votes1
answer159
viewsRemove white space from Chart
I’m facing a problem I can’t solve. I have a page, and it has 2 Charts, but the problem is that these Charts, are small, with lots of white space around them. I’ve tried setting up the property…
-
2
votes3
answers2176
viewsQuestion how to increase input size according to div size using bootstrap
I am having difficulty increasing the size of my inputs using the bootstrap classes, I would like to leave them according to the sizes of my div for example, in a Row with 12 columns I create the…
-
2
votes1
answer94
viewsHow to implement jQuery Filer Plugin?
I’m trying to implement a component for uploading images with thumbnails, and I’ve spent a lot of time looking for one that suits my needs. After a day of searching I found jQuery Filer. Anyway, I’m…
-
2
votes1
answer78
viewsHow to request authentication in an Asp.net menu item
I have the login form that is currently being used to enter the system, but I need to do this authentication also by clicking on a particular menu item. I need that when clicking on "Home", ask for…
-
2
votes3
answers533
viewsProblem when converting int to string
I’m trying to do a click counter in ASP.NET webforms and c#, and I need to convert the number int click-through to a string in label. Only this does not work, the page is displayed but the number of…
-
2
votes2
answers690
viewsHow to get the data typed in the Textbox that was created dynamically?
I created some controls TextBox dynamically in my Code Behind and I need to redeem the values in a new method, but I cannot use the textbox changed in a new method. try { DataTable tbDadosAux =//…
-
2
votes1
answer470
viewsUsing JSON in c# and adding points in GMAPS
Good morning, everyone, I’m developing a C# web application that uses GMAPS to add comments to addresses. I have a page on which the user inserts comments (and the page captures latitude and…
-
2
votes1
answer324
viewsParameters between pages (ASP.NET Core / C#)
Hello, I have a question in which I already researched a lot and did not get any concrete answer. I am beginner in C# and ASP.NET, forgive me for ignorance. I have a project in ASP.NET Core MVC. On…
-
2
votes2
answers581
viewsGet the ID of a line from a Gridview query
I made a query where it is populated a gridview, the columns are code, category, noprazo, foradoprazo. In the columns noprazo and foradoprazo, I left them as linkbuttom that by clicking on the…
-
2
votes2
answers2375
viewsSet up site on IIS 7. Do not start site
I created a website called Testepdf. I gave this alias to it: testepdf. I created a directory and set it to dir virtual(C: wwwroot Testepdf). In the application pool I switched to classico and the…
-
2
votes1
answer55
viewsWhen climbing the site gives error: Failure to load a file
When I go up the site gives me that mistake: GET http://localhost:3000/locale/locale.properties 404 (Not Found)xhrLoadText @ l10n.js:128parseResource @ l10n.js:257L10nResourceLink.load @…
-
2
votes1
answer170
viewsHow do you fix columns on a Listview?
I got the following Listview below, precise leaves the first 3 columns fixed and allow the rest to scroll. <td colspan="4"> <div class="GradeDados" style="position: relative; width: 1000px;…
-
2
votes1
answer1034
viewsConnection to ASP.NET CORE 2 database
I’m starting with Asp.net, but specifically Asp.net core 2. I’m reading the documentation contained in Docs.microsoft.com. However, I have a question. How do I connect to a DB? In PHP I use PDO, but…
-
2
votes2
answers1102
viewsError while converting HTML to PDF
I need to make a PDF from a page HTML, but while converting I get the following error: Cannot convert an object of type 'iTextSharp.text.html.simpleparser.Tablewrapper' to type…
-
2
votes3
answers1008
viewsCan I create a dropdown menu inside a a href?
In case I have a tag <a>, I can add just like a tag <ul> with <li> to create a dropdown menu <a href="out_denuncia.aspx" id="menuHomeMaster">Denúncia/Sugestão</a> or…
-
2
votes1
answer243
viewsJavascript function does not run Pagemethod
I’m calling a Pagemethod in a Javascript function, but it goes straight to the end not entering my function C#. Follow the code below: <script type="text/javascript"> function enviar() { if…
-
2
votes2
answers80
viewsProblem with Jquery dialog
I have a ListView which creates some buttons dynamically according to Idpassoworkflow, and as the step I need presents a message to the user confirms whether or not to execute the action, only that…
-
2
votes2
answers824
viewsWhat are the variations of ASP.NET?
What are the variations existing within ASP.NET? The main characteristics and for what type of activity they are most recommended? When researching I have come across for example ASP.NET, ASP.NET…
asp.netasked 6 years, 5 months ago user109093 -
2
votes1
answer61
viewsWhat is the correct way to legitimize a particular user through Identity with Soap web service?
Initially I tried to add snippets that are related to Identity and I used the Find method with password and login, but I was not successful. using System; using System.Collections.Generic; using…
-
2
votes1
answer63
viewsClear label when opening the main page
I’m making a site in Asp.net using Vb and when I refresh delete the data from textbox’s and also wanted to clean what is written on the label can help me? I’m using the code below and it’s not…
-
2
votes1
answer65
viewsModify Httpcontext.Current.User is breaking the Bundle Optimization
I did several tests and I could see that by modifying the HttpContext.Current.User Application_PostAuthenticateRequest (Global.asax.Cs) I get an Internal Server Error in the concatenated/minified…
-
2
votes0
answers41
viewsAsp.net with Github
I have some time of experience with versioning GITHUB with java, always worked efficiently between teams. I’m with an ASP.NET project based on Webforms, and I’m trying to get in touch with GITHUB. I…
-
2
votes0
answers28
viewsFile management similar to Google Drive
I was looking for how to create a data management similar to One Drive, Google Drive, etc. And I just came across that and I didn’t quite understand how to apply this in a WEB application, could…
asp.netasked 6 years, 4 months ago Igor Carreiro 1,917 -
2
votes1
answer740
viewsWelcome page in HTML
Good. Before developing a website in C# Asp.net I created a sketch on Wix. Only now I don’t know how to put the first page of this kind, that is, a small window (with the index behind it) before…
-
2
votes1
answer191
viewsAlternative C# Windows Service
Hello, I have some windows services written in C# (Framework 4.0) running on server here in the company, these services perform some monitoring to make information available for when the user logs…
-
2
votes1
answer1116
viewsCreate buttons at runtime
I intend to create a small web game where the user will make the decision of the characters at runtime. At the moment I have the following screen: When the user clicks on the left button, for…
-
2
votes1
answer35
viewsParameters in the URL using /
I need to have a URL in the following format: nomedosite.com/note/{anything} I need this URL to trigger the controller Note, with the action Index. How should I set my route? I tried to use this:…
-
2
votes1
answer593
viewsC# + Entity + Mysql = The underlying Provider failed on Open
I have a problem when I host my system on the Ocaweb. My system is done in C# Asp.net MVC3 with EF and Mysql. This problem occurs only in Ocaweb, I already checked the connectionstring and this all…
-
2
votes1
answer43
viewsEdit compiled ASP.NET page
Good morning, I have a WEB application ready and I need to maintain it, change some tables that are referenced in it and etc. However I do not have the project, only the page compiled with the aspx…
-
2
votes1
answer248
viewsASP.NET vs Intraweb
Since I come from PHP and I’m starting now with ASP.NET and I’m pretty raw, I’ll need to argue about. NET to one of the owners of the company, and he develops in Intraweb. By my vision of WEB, the…
-
2
votes1
answer73
viewsSelect(HTML) with multiple selection. Mark one and should mark all, not working
I have this select with multiples select <tr> <td width="10%" class="label_right">Autorização Prévia: </td> <td class="label_left"> <select…
-
2
votes1
answer752
viewsPrinting with Reportviewer Asp.Net
Good afternoon, I’d like some help. I am generating an impression by Reportviewer with Visual Studio 2010, the report is generated correctly but the print view does not show the Print button in the…
-
2
votes1
answer282
viewsCreating ASP.NET Core File Folder
Hello I am generating a file folder via code, but it n appears as if in fact it is inside the project/solution, like this: I would like to create (via code) the file folder so that it is actually…
-
2
votes1
answer1102
viewsFluent Nhibernate - Composite Key Mapping
Greetings, I’m having a hard time and I can’t fix it. I have an application where I created the mapping and everything was working perfectly, but now I need to change it and that’s where the problem…
-
2
votes0
answers44
viewsThe entire data inside the dropdown loads in the get request and not in the post
I made an Edit function that works with 3 different models, get loads the id data I selected, but at post time, the integers within the dropdowns comes with attribute 0. Follow my code for…
-
2
votes0
answers178
viewsError while removing data in Gridview Asp.net c#
Staff every time I try to remove a data on gridview I come across this error "The data source 'Sqldatasource2' does not support deletion unless Deletecommand is specified." this is my method of…