Updating WebPart on MasterPage

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I have a scenario where I have a Master Page for all of my WebPages, and in
one of the pages I update a database record, after that I want to refresh
this WebPart on Master Page manually. How is this possible? The problem is on
Button Click to update record in database, first the Page_Load event will be
called and the Master Page gets refreshed, after that the actual updation
code happens. Hence the WebPart still shows the previous state.

Thanks in Advance,

Shell
 
The webpart on the masterpage could refresh its value in the page_prerender
event. Which comes just before the page is presented to the client.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top