CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Sequence of execution with UpdatePanel

Print topic Send  topic

Author Message
velsto

Posts: 13
Posted: 11/27/2009, 2:24 PM

Hi
I have a page with a grid and a record. Over the grid I have placed an update panel, so that the grid refreshes on its own when the navigator is clicked.

My problem is that if I put debugging code in the events of the record form, I see that nearly every event of the record form also executes. This implies that even though the updatepanel is the only element on the page whose content is refreshed, ALL the code in the page is executed on the server side.

Is this correct and can anyone suggest a way to ensure only the elements in the updatepanel actually executes on the server side?

Thanks
View profile  Send private message
datadoit
Posted: 11/29/2009, 6:08 PM

This is normal behavior. The event is initialized, but if there's
nothing there to do it moves on to the next event.
velsto

Posts: 13
Posted: 11/29/2009, 11:14 PM

Thank you for the reply.

Does this however not defeat the whole purpose of the update panel? Should'nt only the code inside the update panel execute?

If all the other grids and record forms on the page also initialise and the SQL's execute on UpdatePanel, why not simply refresh the while page?

Thanks
View profile  Send private message
datadoit
Posted: 11/30/2009, 6:20 AM

Are you using AJAX?
velsto

Posts: 13
Posted: 11/30/2009, 6:25 AM

Hi
Yes I do
View profile  Send private message
datadoit
Posted: 11/30/2009, 8:49 AM

Then I dunno. Pop off this question to support to see if they have an
explanation and report back here.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.