473,473 Members | 1,552 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem with 2 DropDownList

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

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.
Jorge
Nov 18 '05 #1
1 917
Yes. It looks like ddlCategories.SelectedIndex is getting changed somehow.

"Jorge" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
I don't know in what case this can happend.

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

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Antonio D'Ottavio | last post by:
Good morning, I've a problem with a dropdownlist located inside any row of a datalist, I fill both datalist and dropdownlist at runtime, the problem is with the dropdownlist infact using the event...
2
by: Olav Tollefsen | last post by:
I have a Web Form with a DataList. Inside the ItemTemplate, I have a DropDownList control. <asp:DataList ID="ProductDataList" Runat="server"> <ItemTemplate> <asp:DropDownList ID="DropDownList1"...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
2
by: pankajsingh5k | last post by:
Dear All, Please help me... I had read an article to lazy load a tab in a tabcontainer using an update panel on http://mattberseth.com/blog/2007/07/how_to_lazyload_tabpanels_with.html ...
6
by: shashi shekhar singh | last post by:
Respected Sir, I have to create multiple dynamic dropdownlist boxes and add items dynamically in <asp:table> server control but problem occurs , i.e. except of fist dropdown list no dropdownlist...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.