Problem with 2 DropDownList

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jorge

    Problem with 2 DropDownList

    I don't know in what case this can happend.

    I have to WebUserControls (CompositeHeade r1 and
    SubcategoriesLi st) each one have a DropDownList
    (ddlCategories and ddlSubcategorie s respectively).

    the clientID for them
    are "compositeHeade r1Ctl:ddlCatego ries"
    and "subcategoriesL istCtl:ddlSubca tegories"

    The problem is that when I select an option
    in "subcategoriesL istCtl:ddlSubca tegories" the
    ddlCategories.S electedIndexCha nged event is arised instead
    of ddlSubcategorie s.SelectedIndex Changed.

    I'v already reviewed the Page.Request.Fo rm("__EVENTTARG ET")
    value and it is "subcategoriesL istCtl:ddlSubca tegories".

    Any Idea??

    Thank's in advance.
    Jorge
  • NoOne

    #2
    Re: Problem with 2 DropDownList

    Yes. It looks like ddlCategories.S electedIndex is getting changed somehow.

    "Jorge" <anonymous@disc ussions.microso ft.com> wrote in message
    news:00c001c3c3 f6$c2afd420$a30 1280a@phx.gbl.. .[color=blue]
    > I don't know in what case this can happend.
    >
    > I have to WebUserControls (CompositeHeade r1 and
    > SubcategoriesLi st) each one have a DropDownList
    > (ddlCategories and ddlSubcategorie s respectively).
    >
    > the clientID for them
    > are "compositeHeade r1Ctl:ddlCatego ries"
    > and "subcategoriesL istCtl:ddlSubca tegories"
    >
    > The problem is that when I select an option
    > in "subcategoriesL istCtl:ddlSubca tegories" the
    > ddlCategories.S electedIndexCha nged event is arised instead
    > of ddlSubcategorie s.SelectedIndex Changed.
    >
    > I'v already reviewed the Page.Request.Fo rm("__EVENTTARG ET")
    > value and it is "subcategoriesL istCtl:ddlSubca tegories".
    >
    > Any Idea??
    >
    > Thank's in advance.
    > Jorge[/color]


    Comment

    Working...