I looked for a 'more appropriate' place on the forums to ask about this, but there isn't a forum set aside for the WebDropDown control, so I chose this one.
Every other drop down list box I have worked with fires the SelectionChanged event when the DDLB is initially populated. This DDLB doesn't even post back unless I set AutoPostBack="true" and it also doesn't fire the event when the DDLB get's populated. Am I am being dense or missing something? This thing should be firing that event when it is bound to data.
In the event that it matters when trying to replicate the issue, data is being bound on server side in the PageLoad event.
Hello AlanThis is expected behavior. When the WDD is loaded it does not have items marked as selected and respectively the event is not fired. This event is fired every time an item is marked as selected, and you will have to manually select item (for example the first one) to force invoking the event.
Why then if I set the selectedindex of WDD to 0 right after the bind does it also not fire the event?
Hello Alan,Please let me know if you have any further questions regarding this issue.