Click here to Skip to main content
15,920,633 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
Hi Guys.

I have an application to perform a long running balancing process.

The balancing process starts on pressing a Balance button. I have 2 radio buttons which fetch data from the database and display them on a grid. The balancing process performs some stuff and updates the records in the balance table. The data from the balance table can be fetched with the help of radiobuttons. Since the balancing process is a long running process i want my UI to be resposive during this process. For this i used the Ajax Update Panel. I have added my radio buttons and the grid into the update panel so that even when the balancing process is running i can see the records being updated by clicking the radio buttons and fetch data from the table. however somehow the update panel is not making the radio buttons responsive i.e it's not causing a partial pageload.

To test i added another page to my website and did a small demo.
In this i took a label and a button in the Update panel and took one label outside the update panel and showed the current time on both the labels. In this the update panel is working.It's updating only the label inside the update panel since the button is also inside the panel. That is partial pageload is happening. So why it is not working on a different page of the same project.
my application is having 3 layers.

Does this depend on the complexity of the .cs code.

Please suggest something
Posted
Comments
[no name] 1-Nov-12 14:42pm    
Why do your radio buttons need to be in the update panel?

1 solution

1. Try removing the radio buttons from the update panel
2. Call an update panel databind in your click event for your radio buttons
3. Make sure that something has changed by inspecting your objects/table or nothing will change in your update panel
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900