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
How to showing a modal popup extender for confirmation of a delete
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Jean PaulRank #32 · 38.5K reputationPosted Nov 14, 2011, 12:09 AM EST
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,