Кнопки нажатия ничего не делают. Вот некоторые из способов, которыми я пытался это назвать: < /p>
Pass
Fail
N/A
< /code>
Вот функция в C#: < /p>
protected void OSTAQ1Button1Click(object sender,EventArgs e)
{
OSTAFileNumber.InnerText = "PASS";
}
< /code>
OSTAFileNumber - управление формой:
< /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...
Подробнее здесь: https://stackoverflow.com/questions/794 ... p-function
Кнопка ASPX OnClick не вызывает функцию C# ⇐ C#
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение