i have a update button for update in update page when i finish editing and click update button then the page is redirected to home page and in home page i want a label message saying "update successful" to be appear (not a message box).
if anyone have done this before, please help me with example
thank you
prasanna

Hemant KumarRank #1,202 · 1.5K reputationPosted Aug 21, 2012, 10:59 PM EDT
1. Sending the Result Flag to the other page and showing the Label Message based on the Result Flag.
2.Using Session ,Store the Result Flag in that Session and redirect to the next page.
Naresh AvariRank #2,678 · 520 reputationPosted Aug 21, 2012, 11:43 PM EDT
You can do this using QueryString also. Pass query string in ur URL to home page and capture it in page_load of ur home pae.
Use this code where you redirect to home page after update successful.
Response.Redirect("home.aspx?UpdateSuccessful=Yes");
and in page_load of home page:
if(Request.QueryString["UpdateSuccessful"] != null)
{
string updateSuccessful = Request.QueryString["UpdateSuccessful"].ToString();
if(updateSuccessful == "Yes")
{
//Here make visible = true of your label and assign text to your label
lblMsg.Visible = true;
lblMsg.Text = "Update successful";
}
}
}
Hope this helps........