how to validate the textbox data is in emailformat or not using errorprovider1 control
give me code to validate the validate expression using errorprovider control and tellme about the blinking property of the error provider
How to validate the textbox data is in emailformat or not using errorprovider1 control
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Sushta Guthnar110 reputationPosted Mar 26, 2010, 7:04 AM EDT
Can someoneconvincing that I am whole function?
function isEmail(argvalue) { if (argvalue.indexOf(" ") != -1) return false; else if (argvalue.indexOf("@") == -1) return false; else if (argvalue.indexOf("@") == 0) return false; else if (argvalue.indexOf("@") == (argvalue.length-1)) return false; // arrayString = argvalue.split("@"); (works only in netscape3 and above.) var retSize = customSplit(argvalue, "@", "arrayString"); if (arrayString[1].indexOf(".") == -1) return false; else if (arrayString[1].indexOf(".") == 0) return false; else if (arrayString[1].charAt(arrayString[1].length-1) == ".") { return false; } return true; }Please be marking correct answer and follower\
Sushta doing needful