Composite control listbox SelectedIndexChangedEvent not firing

Discussion in 'ASP .Net Building Controls' started by studen771, Mar 28, 2007.

  1. studen771

    studen771 Guest

    Thanks in advance to anyone who can help :)

    I have a listbox within a composite control whom I want to capture the
    SelectedIndexChanged event. I expose the listboxes 'AutoPostBack' property
    and set it to true so this event can happen.

    **The listbox does successfully perform post backs to the server upon the
    user selecting different items (SingleMode of course)**

    However, the selectedIndexChanged event does not 'bubble up' or fire. (I do
    have a button control who's command event does successfully fire and is
    captured in the overridden OnBubbleEvent method)

    Help anyone??
     
    studen771, Mar 28, 2007
    #1
    1. Advertisements

  2. studen771

    Teemu Keiski Guest

    Hi,

    how is the ListBox populated in the control? Is it populated only initially
    (databound)?
     
    Teemu Keiski, Apr 15, 2007
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.