Hi friends,
I have just begun to use AJAX controls in my project... For ex: FilterTextBox control... I don`t understand what is the use of validation controls if we now have AJAX control...
Are they a substitute to validation controls now?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
George OnofreiPosted Jan 13, 2011, 3:04 AM
Raj KumarPosted Jan 7, 2011, 2:16 AM
The difference between the ASP.NET 2.0 AJAX Extensions Validation and the ASP.NET 2.0 Validation controls is that the ASP.NET 2.0 AJAX Extensions validation registers expando attributes and script compatible with partial page rendering by using the script registration methods of the ScriptManager control.
When using ASP.NET 2.0 AJAX Extensions validators the control to validate and the validator should be inside the same UpdatePanel control.
Validators outside of UpdatePanel controls should use the script registration methods of theClientScriptManager control.