Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Problem with 2 DropDownLists

Thread Tools

Problem with 2 DropDownLists

Posts: n/a
I don't know in what case can this happen.

I have to WebUserControls (CompositeHeader1 and
SubcategoriesList) each one have a DropDownList
(ddlCategories and ddlSubcategories respectively).

the clientID for them
are "compositeHeader1Ctl:ddlCategories"
and "subcategoriesListCtl:ddlSubcategories"

The problem is that when I select an option
in "subcategoriesListCtl:ddlSubcategories" the
ddlCategories.SelectedIndexChanged event is arised instead
of ddlSubcategories.SelectedIndexChanged.

I'v already reviewed the Page.Request.Form("__EVENTTARGET")
value and it is "subcategoriesListCtl:ddlSubcategories".

Any Idea??

Thank's in advance.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with dropdownlists in gridview Mark ASP .Net 2 07-30-2007 10:55 PM
Strange problem with SelectedIndex property affecting multiple dropdownlists RSH ASP .Net 3 02-08-2007 07:13 PM
Problem with DropDownLists and Post Backs ~john ASP .Net 5 12-19-2006 04:21 PM
Newbie problem with 2 dropdownlists to fill gridview Wouter ASP .Net 0 11-29-2006 04:19 PM
Problem with FormView and DropDownLists =?Utf-8?B?QmFzIFBhYXA=?= ASP .Net 3 04-11-2006 01:46 PM