How do I refresh a listbox control on a web form in

I have an application that has a listbox that is data bound to a detailsview control.  After the user updates the database using the detailsview, I want the listbox to refresh.

I have tried doing a response.redirect back to itself.  It works okay with an Insert but not with a Delete.  Is there a way that I can do the redirect so that the web form completely reloads?

Who is Participating?
Dustin HopkinsConnect With a Mentor Managing MemberCommented:
after the detailsview performs the change then envoke the databind method of the listbox.


Hope this helps,
PEAKTTAuthor Commented:
Thank you!!!  I knew it was something simple but just couldn't wrap my brain around it.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.