All Questions
907
questions
0
votes
0
answers
29
views
ASP.Net (not Core) Button Controls to stop postback
Unfortunately I have searched everywhere and no solutions have worked thus far. The company I work for still uses the old ASP.Net and wont pay to upgrade all our code to ASP.Net Core. The version of ...
0
votes
0
answers
45
views
Dynamic button is not calling the assigned function in VB.Net
I have created an e-comers website but on the view cart page i have dynamicly created delete buttonss
but these buttons do not call the DeleteButton_Click function
Imports System.Data.SqlClient
...
1
vote
2
answers
54
views
Update database when an checkbox or button clicks
I have a seperate column in my gridview and also I have added an checkbox/button. So when an user checks or clicks the checkbox or button it should update my oracle database. When an user checks the ...
-1
votes
1
answer
38
views
button to save or update sql database
I have a button and I want it to save data to the sql database if Dropdownlist5 has no value in it, but if Dropdownlist 5 has a value in it, I want the button to update the existing data in sql. The ...
0
votes
1
answer
25
views
Disable button if dropdownlist is null
I am trying to disable a button on page load.
my current code is the following, but when I open the page the button is active.
protected void Page_Load(object sender, EventArgs e)
{
if (...
-1
votes
1
answer
28
views
Display message if any field is missing data not displaying on save
I have a save button and when I click it I want it to check that all fields have data in them before saving to the sql table.
The issue is the data is saving even though one or more fields have no ...
0
votes
1
answer
26
views
How can I pass on information using in href?
I'm using Session to pass on the object of the current user to the different aspx pages.
I have a home page, in which there are not any buttons, I'm only using href.
Is there a way to pass on the user ...
-2
votes
2
answers
428
views
Why does the button event handler not work in C#?
In the HTML section, I created an "addClub" button, whenever it is clicked, two textboxes appear along with a new submit button. I created the submit button in the addClub_click method in ...
0
votes
1
answer
204
views
ASP.NET button generated without ID
I am stuck with an issue that puzzled me. Basically i have a custom file *.ascx that is a user control i am writing.
By now it's written as follow
<%@ Control Language="C#" ...
0
votes
1
answer
74
views
order of processing methods
I display 16 of 147 images in a grid. when the user presses "next", I would like the page number to increment and the next 16 images to display.
To do this, I have a "next" button ...
0
votes
1
answer
309
views
ASP.NET - How to send data on a button
I am using a sample project for ASP.NET using MVC. I am very new to ASP and would like some help with something I would like to do.
I have a List of Dogs in a 'vet surgey' this is very basic at the ...
0
votes
1
answer
353
views
Cannot get Button to activate code behind in ASP.NET / C#
I am unable to get my button to activate my code behind. I have tried adding asp-source, asp-action, runat, and every time my onclick does not work and I get the error:
47 Uncaught ReferenceError: ...
0
votes
1
answer
121
views
Chrome profile disabling ASP buttons
I've been working on our web application for 10+ years.
Everything has worked fine until recently, when all of a sudden, asp:buttons just stopped working. LinkButtons are fine, but regular buttons ...
-1
votes
1
answer
559
views
HTML Input type Button: not valid attribute
in an old ASP.NET Web Forms application I got this warning in the aspx code of a page:
Attribute 'fullname' is not a valid attribute for element 'input'
Why was written in this way?
And there is a way ...
0
votes
1
answer
577
views
Changing the property of a button in a specific row within a gridview (ASP.NET)
When I click on a row in the gridview I want to change the Visible property of just the button in that row to true (I want all the other buttons in the other rows to remain invisible). With my ...