kwilliams Posted April 7, 2010 Share Posted April 7, 2010 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. Link to comment Share on other sites More sharing options...
jesh Posted April 7, 2010 Share Posted April 7, 2010 Doesn't sound normal to me. How are you populating the dropdown list? Link to comment Share on other sites More sharing options...
sukhdev_ce Posted August 10, 2010 Share Posted August 10, 2010 You Have to use if(!ispostback){DropDownList1.Items.add("ItemName");}it uses one time loading time only. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.