I have User ID and Password Text boxex.
and I need to check if password contains user id(i.e password and user id should not be the same) and display errormessage using a ASP.NET label control
I'm doing this validation
lblErrorMessage.Text=">>> Your password should not contain your UserID. Please enter a new password."
I'm calling this function in form onsubmit event.
I'm getting the following message( lblErrorMessage is null or not defined').
lblErrorMessage is a label control with stylesheet class attached to it for color
What is wrong with this?