Abdul Basit
Abdul Basit

Reputation: 722

how to enable or disable asp.net validators in javascript

i just want to enable/disable the validatos don't want to fire them. waiting for reply.thanks in advance.

ValidatorEnable(document.getElementById("")); this function enable the validator and perform validation... i don't want the validation.

Upvotes: 1

Views: 75

Answers (1)

TechDo
TechDo

Reputation: 18639

You can use

ValidatorEnable(document.getElementById("ValidatorControlID"), false);

to disable validator.

Upvotes: 1

Related Questions