I have 40 asp.net dropdownlists in my webpage. When i bind the controls in serverside using DataBind() it is taking 12 seconds, during which the page is blank. Without the databind, the page loads in 1 second.
So i decided to do the binding at client side. When i googled, i got this link. But the problem i am facing is, when i use PopulateControl() in javascript, i will get only the SelectedIndex during the postback.
The asp.net dropdown has the properties like SelectedIndex, SelectedValue, SelectedText. These properties are used a lot in the code-behind and changing the logic based on selected index would be very tough for me.
Is there a way where i can bind the control with javascript and get all those properties during postback.
Thanks in advance.