Hi raxhemanth,
As Jas24 said, its not safe to depend on javascript validation
But you are asking about performance so javascript gives you more performance.
For instance if you implementing string name validation in client side and you succeed on it,(thats not enough)
now try to implement server side validation like this to get safer validation
private bool isValidName(string name)
{
bool retBool = false;
if (!string.IsNullOrEmpty(name))
{
retBool = true;
}
return retBool;
}
Which ensures in server side also, so that no invalid data will be inserted into DB.
So its always safe to implement Client side and Server side validation.
Hope this helps you a bit.
Regards,
RK