ASPX -Schaltfläche Onclick ruft die C# nicht aufC#

Ein Treffpunkt für C#-Programmierer
Anonymous
 ASPX -Schaltfläche Onclick ruft die C# nicht auf

Post by Anonymous »

Schaltfläche Klicks machen nichts. Hier ist einige der Möglichkeiten, wie ich versucht habe, es zu nennen: < /p>

Code: Select all

Pass

Fail

N/A

< /code>
Hier ist die Funktion in C#: < /p>
protected void OSTAQ1Button1Click(object sender,EventArgs e)
{
OSTAFileNumber.InnerText = "PASS";
}
< /code>
OSTAFileNumber
ist eine Formregelung:

Code: Select all

< /code>
In another site I built (this one is a collaborative effort), this line of code works for a button:

< /code>
When clicking on the button, nothing happens. I tried using breakpoints, and I also tried some of these other things as well:
CausesValidation="False"
UseSubmitBehavior="False"
private void...

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post