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

  2. studen771

    Teemu Keiski Guest

    Hi,

    how is the ListBox populated in the control? Is it populated only initially
    (databound)?

    --
    Teemu Keiski
    AspInsider, ASP.NET MVP
    http://blogs.aspadvice.com/joteke
    http://teemukeiski.net



    "studen771" <> wrote in message
    news:...
    > 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??
    >
    Teemu Keiski, Apr 15, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?U3RldmVu?=

    SelectedIndexChangedEvent not raising

    =?Utf-8?B?U3RldmVu?=, Mar 8, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    336
    =?Utf-8?B?U3RldmVu?=
    Mar 8, 2005
  2. Replies:
    1
    Views:
    4,507
    Teemu Keiski
    Jul 24, 2006
  3. Chris Simmons

    Composite Control - Event not firing in child control

    Chris Simmons, Oct 28, 2004, in forum: ASP .Net Building Controls
    Replies:
    3
    Views:
    354
    Chris Simmons
    Oct 28, 2004
  4. Chad
    Replies:
    0
    Views:
    212
  5. studen771
    Replies:
    0
    Views:
    495
    studen771
    Mar 28, 2007
Loading...

Share This Page