How do you use a custom validator? When might you want to
use one?
Answer Posted / santosh bind
when using the complex validation like text should not contain the max 50 char
protected void cusCustom_ServerValidate(object sender, ServerValidateEventArgs e)
{
if(e.Value.Length == 10)
e.IsValid = true;
else
e.IsValid = false;
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of express session?
Explain the overview of asp.net?
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
how to write html code with ssl
Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?
What is the difference between ldap and active directory?
How to make paging concepts in datagrid in ASP.NET?
Explain model, view and controller represent in an mvc application? : asp.net mvc
What are all the various Estimation Techniques available ?
Explain file-based dependency and key-based dependency.
Where can I get the details on migration of existing projects using various technologies to asp.net?
How long do session variables last?
Give an example of cookie abuse.
What is the difference between debug and release?
How many types cache in asp net?