protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (!ClientScript.IsStartupScriptRegistered(this.GetType(),"alert"))
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('All leases must be re-assigned to another parent before the delete operation may continue. You may use this view to re-assign those leases.');", true);
}
}
}
Enjoy!
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.