Panel Postback Page Refresh

Today I ran into an issue where a post back panel didn’t have the ability to refresh it’s current view.

After going through a few iterations of writing my own editor and using an existing editor I came across an event CustomProcessCurrentItem of a list view controller.

The problem with this controller was that if you were in a post back panel, it would only refresh the panel.

DevExpress suggested a workaround which refresh the current page after you have done your processing.

The code looked like this in the end:

ASPxWebControl.RedirectOnCallback(CType(Frame.Template, Control).Page.Request.Url)

The RedirectOnCallback is a very handy command, kudos DevEx.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>