473,803 Members | 3,518 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Delegates and UpdatePanels

Hi everyone,

I have a page with multiple UpdatePanels (UpdateMode Conditional).
I'm having a concurrency issue:

1- The user triggers an Update on a panel to change some business data.
2- The panel is changing the business layer (in session)
3- The business layer is triggering (Invoke) a delegate to notify every
listeners that some business data have changed
4- Another update panel that was listening to the delegate in #3 is updating
its display to show the latest data

The problem is that the Panel in #4 has the new data but it seems that the
Panel has already rendered itself. So the user is seeing the old data but
when I refresh the page, the panel shows the live data.

I'm doing something wrong here (logic or programmaticall y). So where can I
find infos on this?
How would you guys proceed?

Just to let you know.. the UpdatePanels don't know the existance of others.

Thanks

Mike
Aug 7 '08 #1
0 944

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

Similar topics

4
22891
by: LP | last post by:
Hello! I am still transitioning from VB.NET to C#. I undertand the basic concepts of Delegates, more so of Events and somewhat understand AsyncCallback methods. But I need some clarification on when to use one over another? If anyone could provide any additional info, your comments, best practices, any good articles, specific examples, etc. Thank you
1
3531
by: jmdolinger | last post by:
Hi all, I'm a newbie to Atlas (and recently ASP.NET) after coming from a long Java background, also have done quite a bit with an Ajax.NET/ASP.NET 1.1 project, but it was basically all javascript, nothing really having to do with ASP.NET... I'm attempting to put together an application that consists of several GridView controls each bound to some xml data. Each table exists in its own update panel. The two effects I'm going for are:
0
1010
by: =?Utf-8?B?QWxleA==?= | last post by:
I have 3 Update Panels on my page. On Page load, UpdatePanels 2 and 3 are hidden. When I click a button in UpdatePanel1, I display the other two UpdatePanels and their contents. UpdatePanel 2 has an server-side button that when clicked, it needs to reference controls in UpdatePanel3 and perform some functions on the server. Since UpdatePanel2 and 3 weren't included in the original page, clicking the button in UpdatePanel 2 doesn't do...
0
4775
by: bharathreddy | last post by:
Delegates Here in this article I will explain about delegates in brief. Some important points about delegates. This article is meant to only those who already know delegates, it will be a quick review not a detailed one. Delegates quite simply are special type of object, a delegate just contains the details of a method. One good way to understanding delegates is by thinking of delegates as something that gives a name to a method...
2
1437
by: JC | last post by:
I have a form with a few UpdatePanels and each has an associated UpdatePanelAnimationExtender which causes fade-in and fade-out. In addition 2 of the animations disable the 2 buttons which trigger them in the Updating event and then enable them again in the Updated event. I was surprised to see that all the animations occur when any AJAX postback occurs. All the UpdatePanelAnimationExtenders have their UpdatePanel ID as their...
2
1904
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. I have an aspx page containing 2 AJAX UpdatePanels. Both panels contain requiredfieldvalidators & each have a validationsummary control. Both panels contain a button control that when clicked cause the validation to occur. Currently if I'm clicking the button in UpdatePanel1 to validate the requiredfieldvalidators in UpdatePanel1, UpdatePanel2 requiredfieldvalidators also validate. This will also cause the errormessages from...
1
1447
by: Nightcrawler | last post by:
I have a parent updatepanel with a repeater in it that generates 10 child updatepanels. I have one button that will refresh all these 10 updatepanels. On the button click I go through the repeateritems, pull some values from a few literals, pass the values to the webservice and then refresh that update panel for that repeater item. This means panel 1 is the first one to refresh before I move on to panel 2 and so forth. This currently...
69
5597
by: raylopez99 | last post by:
They usually don't teach you in most textbooks I've seen that delegates can be used to call class methods from classes that are 'unaware' of the delegate, so long as the class has the same signature for the method (i.e., as below, int Square (int)). Here is an example to show that feature. Note class "UnAwareClass" has its methods Square and Cuber called by a class DelegateClass. This is because these methods in UnAwareClass have the...
7
2252
by: =?Utf-8?B?TWFyYw==?= | last post by:
Dear all I have a scenario where I have 2 updatepanels on a page, each one containing a weppartzone. the scriptmanager is outside of the updatepanels. when I go to design display mode, i can drag and drop just once between the wepartzones - then the solution breaks. If the scriptmanager is inside a weppartzone everything works fine. I found some old post that mentioned this problem. Is this issue resolved in
0
9699
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10542
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10309
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10068
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5496
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3795
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2968
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.