function Validate()
    {
               if(document.getElementById("<%=txtEmailid.ClientID
%>").value=="")
       {
           alert("EMAIL ID CAN NOT BE BLANK");
               document.getElementById("<%=txtEmailid.ClientID%>").focus();
  if (window.event) window.event.cancelBubble = true;
           return false;
       }
}


On Fri, Oct 8, 2010 at 5:03 PM, uttam24 <[email protected]> wrote:

>  ImageButton2.Attributes.Add("onclick", "return Validate()");
>

Reply via email to