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
|
 |
 |
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
|
 |
 |
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
|
 |
 |
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.
|
|
|
 |