Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3678452
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:20:35+00:00 2026-05-19T03:20:35+00:00

Have run this by my entire dev group to no avail. Seems simple enough,

  • 0

Have run this by my entire dev group to no avail. Seems simple enough, here’s the question.

I have a UserControl with a single, non-databound dropdownlist. The UserControl is then dropped onto the masterpage and then also loaded into an inheriting webform that has the control manually loaded onto the page.

No AJAX, straight post-back.

The issue I am running into is that the SelectedIndexChanged event is not firing for the second instance of the DropDownList. The first one fires just fine.

TIA

Here is the code for the ascx:

<asp:dropdownlist id="SelectLanguage" autopostback="true" runat="server" enableviewstate="true">
    <asp:listitem>- Select Language -</asp:listitem>
    <asp:listitem value="xxx">Netherlands</asp:listitem>
    <asp:listitem value="xxx">United Kingdom</asp:listitem>
    <asp:listitem value="xxx">United States</asp:listitem>
</asp:dropdownlist>

Here is the CB for the user control:

protected override void OnInit(EventArgs e)
{
    SelectLanguage.SelectedIndexChanged += new EventHandler(SelectLanguage_SelectedIndexChanged);
    base.OnInit(e);
}

protected void SelectLanguage_SelectedIndexChanged(object sender, EventArgs e)
{
    // do something
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T03:20:36+00:00Added an answer on May 19, 2026 at 3:20 am

    Not sure exactly how this is, but the FancyBox lightbox jQuery library we’re using to do the lightbox effect around the 2nd drop down is somehow messing with the bindings on the back end. No real time to figure out why, just let it be known it does in case anyone else runs into this issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have run this program before and it worked fine. Then I added the
I have run into this problem a few times and I'm not happy with
I have tryed to run this code in my console: script/plugin install git://github.com/apotonick/cells.git ...but
I have a problem: if i run this test in NUnit ,it works Board
I have a problem when I run this snippet of code on the emulator
I have a task in Python and i run this task for first time
Ok so this is a brand new snag I have run into. I am
NOTE: I have solved the majority of this problem but have run into a
I have a delphi 7 form: and my code: when I run this form
I have the following query, now the strange thing is if I run this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.