Click to See Complete Forum and Search --> : AutoPostBack Takes Too Long To Load...Why?


kwilliams
04-07-2010, 09:43 AM
I have AutoPostBack set to "true" for a few dropdownlists on my form. Every time that I set this property to true, the page takes 4-5 seconds to load that dropdownlist, no matter what code is located within the Page_Load event.

Even if I create a completely fresh page with absolutely no codebehind, it still takes that long to reload the page. This becomes a problem with any applications, because if a user selects 3 options quickly from 3 different dropdownlists, the second two get erased because it took so long for the first one to load. That ends up being a pain.

Is this normal? Why do they take so long to load? Thanks for any help.

ryanbutler
04-08-2010, 07:59 AM
I haven't experienced that before, but you could look into the update panel that comes bundled with .NET 3.5 and see if the built in AJAX helps with the timing.