We help IT Professionals succeed at work.
Get Started

How to redirect after gridview row updating?

Last Modified: 2015-03-10
Hello Experts,

I use the following on a button to redirect the user to the same page when it's clicked:

protected void btn_refresh_emp_name_ddl_Click(object sender, EventArgs e)

Open in new window

I would like to do the same thing when a gridview row is updated, so I tried this:

protected void tbl_emp_gv_RowUpdating(object sender, GridViewUpdateEventArgs e)

Open in new window

but it didn't work.  

Any help would be greatly appreciated.

Watch Question
Top Expert 2015
This problem has been solved!
Unlock 2 Answers and 3 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE