I am performing a calculation after user enters input into fields. Each field is range validated. Each field has AutoPostBack is set to true.

When user enter input into first field, then click on second field; the first field gets validated, but then auto post back kicks in and the validation looses it's value after page briefly reloads.

How can I avoid this?

有帮助吗?

解决方案

Please Set CausesValidation="true" in your TextBox

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top