protected void Page_Load(object sender, EventArgs e)
{
// Create a message string
string strMessage = "This is a message in status bar";
// Register startup script to show a message in status bar
this.RegisterStartupScript("SetStatusText", "<script>window.status='" +
strMessage + "';</script>");
}
No comments:
Post a Comment