473,507 Members | 2,504 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Updating WebPart on MasterPage

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
Jan 18 '06 #1
1 1251
DWS
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.

"Shell" wrote:
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

Jan 29 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1180
by: J. Jespersen | last post by:
Hi people, I fiddling with webparts, and have created my own custom webpart from scratch. The webpart itself is contained in a myPart.dll I have two different sites. SiteA and SiteB. Both are...
3
4722
by: DexHex | last post by:
Hi, I am stumpt. Is there anyway to set the background image on a webpart title?
0
1032
by: arthernan | last post by:
I have an almost finished page that uses webparts. And this is the expected functionality. A logged on user hits a button and the button opens a WebPart. Then te user logs off, next time he logs on...
2
1638
by: arthernan | last post by:
I have an almost finished page that uses webparts. And this is the expected functionality. A logged on user hits a button and the button opens a WebPart. Then the user logs off, next time he logs...
3
1719
by: Jav | last post by:
I create a UserControl (.ascx), and then change it in code to: Inherits System.Web.UI.WebControls.WebParts.WebPart expecting that it will now be treated as a WebPart. But this immediately...
2
1343
by: MrCrool | last post by:
Hi I am trying to develop WebParts that will interact with each other to make up a highly customizable "system", but I am having trouble with the order in which the webparts connect and...
1
1375
by: TheAmes | last post by:
Hi VB.net 2.0 website developed with VWD 2005 Express one masterpage one content page aspx and a global.asax in the application startup event of the global.asax file i declare a
0
1216
by: Manpreet | last post by:
Hi, I have a web part page with a toolbar webpart and a grid webpart. In the toolbar, I have menu-items to update a field. For selecting the value of the field I have another asp.net webform...
4
1539
by: Arnab das | last post by:
I am working in asp.net webpart.I want to show the delete warning message in a modal popup. How can I achieve this?
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7110
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.