Wednesday, 7 August 2013

lable(show for 5 seconds) in c# code and asp .net

 ClientScript.RegisterStartupScript(this.GetType(), "HideLabel",
            "<script type=\"text/javascript\">setTimeout(\"document.getElementById('" +
            lblErrorMessage.ClientID + "').style.display='none'\",5000)</script>");

No comments:

Post a Comment