Most voted "asp" questions
ASP (from Active Server Pages), also known as ASP Classic nowadays, is a basic library structure (not a language) for server-side scripting language processing for dynamic content generation on the Web.
Learn more…308 questions
Sort by count of
-
0
votes1
answer298
viewsHow Popular Image in Gridview?
I’m doing an app on Asp.NET, with Entity Framework and using the database Oracle and here’s the thing I’m uploading the image by a button and saving in the database with the type BLOB until then all…
-
0
votes1
answer24
viewsauthentication with Formsauthenticationticket
I need to make the persistence of inclusions, changes and exclusions that users make on the system, each drive that the user only sees, so I created a Id on the tables of my BD to know which user is…
-
0
votes0
answers480
viewsSend complex view object to ASP MVC controller
In my View I have a complex model where I display in a table only a few fields. In this model I have another list called Tracks where I do not display its contents. Note the image below. I need to…
-
0
votes1
answer264
viewsNot null parameter in Int fields
I am creating an application in Asp.NET MVC (I am using the Scafffolded feature), however, all the whole fields are being required to be filled in, as I remove this parameter? Note: I have tried to…
-
0
votes0
answers44
viewsWhat’s wrong with that method?
I’m creating an Asp net mvc application, I created a domain class with: public class Parcela { public int parcelaId { get; set; } public decimal valor { get; set; } public DateTime vencimento { get;…
-
0
votes1
answer105
viewsRetrieve Listview values - Getelementbyid
Good night! I have a listview and I am displaying the values inside Span’s, I would like to take the value of span when clicking but as Span’s have the same ID I always get the same value. Does…
-
0
votes1
answer123
viewsError Adding Controller with views using Entity Framework in Asp.NET
When trying to add the following error appears: Model: using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MVCEntity.Models { public class Usuario { public…
-
0
votes1
answer250
viewsAlert on condition in Controller Asp Net MVC
Good evening, I tried looking in other posts and did not find the answer. I have a Controller in my Asp Net MVC project that has this condition: if (resultado == null) { ModelState.AddModelError("",…
-
0
votes1
answer146
viewsEntityframework problem - An Entity Object cannot be referenced by Multiple instances of Ientitychangetracker
I have a project where a dropdownlist is loaded with the following instructions: var lista = entities.prato.OrderBy(x => x.nome).ToList(); combo.DataTextField = "nome"; combo.DataValueField =…
-
0
votes1
answer79
viewsREGEX - Allow HTML at the beginning of the string
This expression is cutting HTML only when I put it at the beginning of the expression. How to fix this? (?:[…
-
0
votes0
answers49
viewsASP 3 - Removing space in the middle of the text
Next, this text is taken from a pdf, and posted in a textare (fckeditor), but it comes all misaligned. So for example: pergunta a)resposta 1 b)resposta 1 c)resposta 1 d)resposta 1 e)resposta 1 I…
-
0
votes1
answer205
viewsDelete User Identity
I’m new to the Identity, I’m having difficulty implementing the Delete Already Registered Users method. I’ve done Action, I ran View, but I have no knowledge of what methods Identity use to make…
-
0
votes1
answer33
viewsChange a property value after aspnet click
I got all the CRUD done, but I wish when I click the button "approve" in my View where you are listing Registered Data, change only the property Situation. I put by default, so she always gets…
-
0
votes1
answer407
viewsDoubt - Dependent Combobox with Classic ASP
I have two tables in SQL: One of groups that has two columns: id and group One of products that has three columns: id, group and product In the products table, the column "group" is equivalent to…
-
0
votes1
answer45
views -
0
votes0
answers53
viewsASP Classic & Mysql - Find out which page the X record is on
I have a problem that I think is more logical than language itself, but if you can answer in ASP Classic already helps enough. I need to create a function, where given an X record, and a number of…
-
0
votes1
answer61
viewsConfiguration of server Asp
good afternoon. I’m venturing into an Asp server, only I’m lost in its configuration. Like php dev, I put an index.php in an Asp server hoping it would work, but it didn’t. Looking more on, I…
-
0
votes0
answers182
viewsLog out in new ASP Classic tab
It is possible to close the session of ASP when opening a new tab? I am trying to end the login session of ASP when the user opens another tab and tries to access the system, the idea is that the…
-
0
votes1
answer238
viewsLogic for Boolean variables in ASP
Good morning, I do maintenance on a huge system, we have two servers, a test and another production, I happen to have the following problem: On the test server this condition does not return as…
-
0
votes0
answers38
viewsGoogle Chart Line
I have homemade design, all done and Classic ASP (Vbscript) in which I use information generated in an array from txt files. The project has several bar graph generation modules generated "in hand"…
-
0
votes1
answer60
viewsSending emails that belong to a group
I need a help, I am developing a mailing system that allows sending to a set of email belonging to a group, I managed to do a part now, my txt_para field should receive the name of any group and…
-
0
votes0
answers123
viewsDependency Injection - Web Api
Good Afternoon, I’m trying to create the dependency injection in the Web Api, but I’m not getting it, I get the following error: SimpleInjector.DiagnosticVerificationException Hresult=0x80131500…
-
0
votes1
answer81
viewsExchange Html.Action() for an Ajax request
I have a method that returns a ActionResult called through a Html.Action() directly on View using Razor. This method is used to render a ComboBox of devExpress with the data I send a command SQL at…
-
0
votes0
answers26
viewsHow to use ASP tags with Stringbuilder
People I am using Sringbuilder to assemble a page in ASP.NET jpa I did it several times without problems, but now I need to assemble a string that has tas ASP inside it, mount is not the problem but…
-
0
votes1
answer478
viewsPassing variables from AJAX to ASP
I have a contact form that uses an AJAX function to validate and return a success PARAMETER that allows me to send the message WITHOUT the visitor leaving the contact page. Normally, I use these…
-
0
votes1
answer466
viewsError sending email ASP.NET
I am with a client and he is having problems sending email by the application in Asp. The code is as follows: string nomeRemetente = "Remetente"; string emailRemetente = "[email protected]";…
-
0
votes1
answer22
viewsProblems with select command of Line
The query worked she has 2 questions randomly with the 5 options each. The problem is that my select loads the view described below: public class QuestaoOpcaoModel { public int QuestaoId { get; set;…
-
0
votes0
answers114
viewsCould not find specified column in Results
I have a code to search in two tables, a search the logo and the other the images, the first he does normally, does the reading and everything else, in the second he already error, the code is as…
-
0
votes1
answer195
viewsHow to take the content of a textarea and show in a modal
I wonder if I can take the content of a textarea (which in this case is a Texbox) and show in a modal, in my case: Follow the code I made: <asp:Label runat="server" CssClass="text-bold"…
-
0
votes1
answer37
viewsFailed to send email ASP
I have the following code for sending emails, but it is giving error, does not inform of much information just appears "Failed to send email." I’ve changed the door, changed it EnableSsl for true…
-
0
votes1
answer589
viewsHow to handle an array in json format in classic Asp
Well my situation is as follows, I have a variable that brings me the following results: var1 =…
-
0
votes0
answers85
viewsReturn select Asp.net core MVC value
Good Morning, I have a question, I have an application in Asp.net core. When selecting a Dropdownlist I want to receive this value without pressing the Ubmit button, but I don’t know how to do it,…
-
0
votes1
answer189
viewsError "Settings to access '"' printer are not valid."
I have an application ASP.Net MVC that makes product sale and printing of this sale we work with several brands of thermal printers (not fiscal) as: Tanca, Bematech, Epson, among others.. we use to…
-
0
votes1
answer246
viewsURL friendly Classic ASP with Isapi Rewrite
Good morning, you guys. The point is I can access an address dominio.com/modulo/id/titulo and he rewrites to dominio.com/default.asp?link=artigo&id=123&titulo=teste, but my question is…
-
0
votes1
answer63
viewsTelerik Radgrid loses paging when exporting to Excel
When I export Radgrid from Telerik to Excel, when Radgrid has many records, it loses paging. I tried to solve with rebind, but it didn’t work. Would anyone have any idea? Attached the screens before…
-
0
votes0
answers47
viewsAsp Net application does not run
Someone could explain to me why, when running my application on Asp Net it does not run, presenting the message "Server Error in Application '/'."? Error screen: File Routeconfig.Cs: namespace…
-
0
votes2
answers69
viewsSum of values in View
I would like to realize a simple sum of some values in my View. I tried to accomplish it that way: @foreach (ReceitaIndexVM receita in Model) { decimal Total = 0; <div class="col-lg-2…
-
0
votes1
answer42
viewssqldatetime overflow c# When trying to use type = Date in Razor Using . NET MVC
When trying to save a change from a client, the SQL Server database is returning the following message: Sqldatetime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. View:…
-
0
votes2
answers64
viewsHow do I enable uploading large files to classic ASP on IIS?
I have an upload system in Classic ASP. I can upload up to 200KB without problems, but when I try a bigger size the error occurs: Request Object error 'ASP 0104 : 80004005' Operation not Allowed…
-
0
votes1
answer59
viewsHow to set hostname in publication Asp net core 3.1 selfHosted
I have a working project which the publication preference is in the format of publish to self hosted folder (selfhosted) (without using IIS). Reason for this: the goal is to decrease the…
-
0
votes0
answers24
viewsError in an MVC application using foreign key with Mysql
I cannot register an owner who depends on a foreign key Cidadeid Mysqlexception: Cannot add or update a Child Row: a Foreign key Constraint fails (veterinario.proprietario, CONSTRAINT…
-
0
votes0
answers21
viewsHow to disconnect a user at the end of a given process in ASP.NET Identity C#
Good morning guys, I’m developing a solution where in a certain process of buying in e-commerce the system will automatically login using the data of a default user. The whole process will be…
-
-1
votes1
answer834
viewsHow to round percentage?
I would need the function below in .asp. I have no notion of language, someone can help? Fiz em Javascript, segue: function limparClasse(classe) { var elementos = document.querySelectorAll('.' +…
-
-1
votes2
answers2032
viewsHow to connect an HTML page, using ASP, to the SQL Server database?
How do I connect an sql database to an html site using Asp? Observing: I already have the entire bank developed and the full page too, I just need to know how to bridge the gap between the two…
-
-1
votes3
answers572
viewsBarcode Generation - FPDF
I am using classic Asp generating barcode in PDF. I found little problem, in the function below calculates the barcode with one more digit, If anyone can help find the error thank you. I made a…
-
-1
votes3
answers5007
viewsAccent error in mysql
I’m having accentuation problem in the database of my site. For example, in the database the text is "electric", but is posted on the site as "theTrical" I tried some things, but now instead of…
-
-1
votes2
answers783
viewsHow to execute method by clicking a button type
Ola, I am making an application that can re-cover the user password and send the password to the Suport team email. For that I have a page .aspx that has html code and I have it in the class…
-
-1
votes1
answer263
viewsHow to do a Vb.net routine, function that runs at a set time?
Hello need help with Vb.net in an Asp.net application, I need to create a function that runs after 24 hours for closing operations, but I have no idea how to create a function that starts alone in a…
-
-1
votes1
answer36
viewsReference problem
I am studying . net-core and am trying to make a system for a hospital using standard DDD and . net-core. Just when I started creating my templates and views, I came across a reference problem when…
-
-1
votes1
answer2015
viewsTransaction failed. The server response was: 5.7.1 <email>: Relay access denied
I have this code for sending emails and is returning the following error: Transaction failed. Server response was: 5.7.1 : Relay access denied Would anyone know tell me the problem? I’ve checked…