SelectedIndexChanged event is not fired

Discussion in 'ASP .Net Building Controls' started by BentleyInc, Dec 10, 2004.

  1. BentleyInc

    BentleyInc Guest

    I've created a Web user control that contains a DropDownList and this
    DropDownList gets created and loaded in init() everytime. I set
    AutoPostBack=true and registered the event.

    I'm using the same user control at 2 different places. When running in the
    ASP.NET web form, the DropDownList is working fine and the
    SelectedIndexChanged event handler does get called, but when running the
    same user control in my Sharepoint Web part page, the event never gets
    fired.

    Has anyone out there had similar problem (not necessarily to be Sharepoint
    related) that SelectedIndexChanged is not firing? Any possible reasons? It
    definitely does a post back just the event is not firing.

    Thanks in advance.

    Jingmei Li
    Bentley Systems Inc.
     
    BentleyInc, Dec 10, 2004
    #1
    1. Advertising

  2. BentleyInc

    Henri Guest

    Please provide your code.
    Difficult to help without it.

    Henri

    "BentleyInc" <> a écrit dans le message de
    news:%...
    > I've created a Web user control that contains a DropDownList and this
    > DropDownList gets created and loaded in init() everytime. I set
    > AutoPostBack=true and registered the event.
    >
    > I'm using the same user control at 2 different places. When running in the
    > ASP.NET web form, the DropDownList is working fine and the
    > SelectedIndexChanged event handler does get called, but when running the
    > same user control in my Sharepoint Web part page, the event never gets
    > fired.
    >
    > Has anyone out there had similar problem (not necessarily to be Sharepoint
    > related) that SelectedIndexChanged is not firing? Any possible reasons? It
    > definitely does a post back just the event is not firing.
    >
    > Thanks in advance.
    >
    > Jingmei Li
    > Bentley Systems Inc.
    >
    >
    >
    >
     
    Henri, Dec 12, 2004
    #2
    1. Advertising

  3. BentleyInc

    ComSpex Guest

    My guess is it may be a kind of name conflict -- same id is used somewhere.

    "BentleyInc" wrote:

    > I've created a Web user control that contains a DropDownList and this
    > DropDownList gets created and loaded in init() everytime. I set
    > AutoPostBack=true and registered the event.
    >
    > I'm using the same user control at 2 different places. When running in the
    > ASP.NET web form, the DropDownList is working fine and the
    > SelectedIndexChanged event handler does get called, but when running the
    > same user control in my Sharepoint Web part page, the event never gets
    > fired.
    >
    > Has anyone out there had similar problem (not necessarily to be Sharepoint
    > related) that SelectedIndexChanged is not firing? Any possible reasons? It
    > definitely does a post back just the event is not firing.
    >
    > Thanks in advance.
    >
    > Jingmei Li
    > Bentley Systems Inc.
    >
    >
    >
    >
     
    ComSpex, Dec 17, 2004
    #3
    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. jorge
    Replies:
    2
    Views:
    1,278
    jorge
    May 26, 2004
  2. hal
    Replies:
    2
    Views:
    1,786
    =?Utf-8?B?SmVyZW15IERhdmlz?=
    Sep 13, 2004
  3. =?Utf-8?B?YWJvaXZpbg==?=

    DropDownList SelectedIndexChanged Event not fired

    =?Utf-8?B?YWJvaXZpbg==?=, Feb 9, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    380
    =?Utf-8?B?YWJvaXZpbg==?=
    Feb 9, 2005
  4. jorge
    Replies:
    1
    Views:
    416
    Teemu Keiski
    May 28, 2004
  5. Jason
    Replies:
    0
    Views:
    391
    Jason
    Oct 4, 2006
Loading...

Share This Page