Last post Dec 22, 2017 07:55 AM by Fei Han - MSFT
Dec 10, 2017 11:17 PM|monaliza17|LINK
Thank you in advance for your valuable time in advance.
I have spend several hours trying to fix the following issue, but no luck so far. I am building ASP.NET C# webforms, specifically using bootstrap selectpicker on multiple dropdownlists. During a full postback (i.e. if (!IsPostBack)), the webpage loses CSS
for 3-4 seconds while the page is loading. Even on the initial load of the webpage, I can see simple AJAX dropdownlists for a second or two before bootstrap format appears. Can you please provide or direct me to the solution?
Dec 11, 2017 08:24 AM|Eric Du|LINK
According to your description, as far as i know, this issue maybe related to the loading lazy of CSS file, please share your code for us to test, this will better help you solve the problem.
Dec 22, 2017 07:55 AM|Fei Han - MSFT|LINK
uring a full postback (i.e. if (!IsPostBack)), the webpage loses CSS for 3-4 seconds while the page is loading.
If you do not want to show the dropdownlist <select> before bootstrap css styles apply to it, you can try to hide that dropdownlist in default, and set short time delay (using
setTimeout() method) to show that dropdownlist.