Why does my button display WebForm_DoPostBackWithOptions?

I need my page to work when JavaScript is disabled. But my button displays onclick = "WebForm_DoPostBackWithOptions ...". When I set CauseValidation = "false", it disappears, but I need a check. When is WebForm_DoPostBackWithOptions displayed? And how can I get around this problem?

+5
source share
2 answers

Validation controls use both client and server validation. On the client, javascript is used for validation and is required.

You can force the validation controls to not use a client script that can help you with this problem.

<asp:RequiredFieldValidator EnableClientScript="false" />
+2

ValidationGroup, .

<asp:RequiredFieldValidator ValidationGroup="Save" />

+1

All Articles