0

I have an asp.net 4.0 web forms application that I'm working on and I'm trying to modify the behavior of an updatepanel.

The current behavior is that while the update panel loads, I can click on links but they don't work until the panel is finished loading. Because the panel takes a long time to load, users are blocked from navigating the page and I need to figure out a way to fix that.

Does anyone have a good idea on how to accomplish this?

Thanks!

AvkashChauhan
  • 20,495
  • 3
  • 34
  • 65
Josh R
  • 1,970
  • 3
  • 27
  • 45

1 Answers1

1

A better suggestion is to use triggers as described here: How can I defer loading UpdatePanel content until after the page renders?

There could be another way where you hide the panel while the update in progress as described here: Hide UpdatePanel during UpdateProgress

May I also suggest you to study Understanding ASP.NET AJAX UpdatePanel Triggers because this will help you to create a better solution fit for your project.

Community
  • 1
  • 1
AvkashChauhan
  • 20,495
  • 3
  • 34
  • 65
  • Thanks for the links, they're definitely the right direction. I'm still trying to understand the way ASP.NET works, so maybe you can help me out this this: when I add the under and put the following javascript code in, __doPostBack('<%= hiddenAsyncTrigger.ClientID %>', ''); the UpdatePanel no longer finishes loading/updating. Any idea on why that is? – Josh R Jun 11 '12 at 20:42