Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3521
WebDropDown Doesn't Fire Selection Changed Event When Initially Populated
posted

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.

Parents
No Data
Reply
  • 13438
    posted

    Hello Alan

    This 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.

Children