on A Button click i am showing a modal popup extender for confirmation of a delete
After delete action on modal popup after confirmation popup closed
and i have the requirement to show a message that deleted successfully!!
and that text should disappear after certain period
how i can achieve the same
Loading
Jean PaulPosted Nov 14, 2011, 5:09 AM
After deleting, you can show the message and create a thread to clear the message.
ShowMessage();
new Thread(new ThreadStart(ClearMessage)).Start();
// Normal execution resumes here
private void ClearMessage()
{
Thread.Sleep(1000 * 10); // Wait for 10 seconds;
Message.Text = string.Empty;
}
Regards,