Is there any way to tell through an event type mechanism when the drop down is done binding to data? I am loading a drop down with a list through a datasource bound to remote data and need to initialize the value based on another data field retrieved previously. I also need to fill in other controls through MVVM based on the data in the drop down list, so simply setting the drop down list initial value isn't enough for this.
The time to load the drop down seems to vary, and a timeout isn't working very well at that point, so it would be helpful to know when the drop down is finished and can safely have its value set through code.
If there is no event (which it doesn't appear there is from the documentation) is there a known way to handle this situation? I should probably point out that I'm fairly new to javascript, so if there is something obvious that I'm missing, please excuse my ignorance!
The time to load the drop down seems to vary, and a timeout isn't working very well at that point, so it would be helpful to know when the drop down is finished and can safely have its value set through code.
If there is no event (which it doesn't appear there is from the documentation) is there a known way to handle this situation? I should probably point out that I'm fairly new to javascript, so if there is something obvious that I'm missing, please excuse my ignorance!