if email exist by function check i want display error
how i do it?
[RequiredIf(BL.datafuncs.checkIfExist(email) == true, ErrorMessage = \"email alr
Custom attributes are embedded in the assembly, they are not run time stuff, so you can NEVER put a function inside the attribute argument. I would suggest you do the check in your controller call and perform some action accordingly