Solved

Redirect to the a page after 5 seconds of "record updated successfully" message

Posted on 2014-03-02
1
384 Views
Last Modified: 2014-03-12
Hi experts,

I have a gridview  (page1.aspx)  which will display all records in table. Inside gridview I have an edit button for each record. when the user click on edit button it will redirect to a page (page2.aspx) where user can edit the records. After editing when the user click the submit button ,it will display "record updated successfully" and redirect to the page1.aspx after 5 seconds.

How will I achieve (i.e redirect to the page1.aspx after 5 seconds of "record updated successfully" message which is  display in a lable in page1.aspx
0
Comment
Question by:Tapan Pattanaik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 39899869
You would need to drop a small piece of javascript into the page as part of the response. Something like:
window.setTimeout('location.href="page1.aspx"', 5000);

Open in new window

0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question