Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Name the tools or API for developing or testing web api?

905


What is the use of execute non query in asp.net?

905


COM+ Used ________________ Isolation Level

1911


Explain a program using razor view engine to create a simple application? : asp.net mvc

951


Differentiate between early binding and late binding.

1024


What is server side session management?

880


Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?

960


What is session and application variable in asp net?

855


What is asp.net web pages?

937


How can we access static variable?

1044


Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?

1072


How long does an http session last?

888


Name the two properties are on every validation control?

938


Difference between .NET and previous version?

2530


If you are using components in your application, how can you handle exceptions raised in a component?

2613