Click here to Skip to main content
15,878,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

Pls Guide me how to use multiple drop down selected index changed event in user control

Here i have 3 drop down inside the user control

I used a code like

C#
protected void ddlCustomerGroup_SelectedIndexChanged(object sender, EventArgs e)
{
    customer();
}

 public class SelectedIndexChangedEventArgs : EventArgs
    {
    }


How to include the second drop down selected index changed

I done the code like

C#
protected void ddlCustomer_SelectedIndexChanged(object sender, EventArgs e)
       {
           customer();
       }

But i found dis message as error

Compiler Error Message: CS1061: 'ASP.custgrpprodcatproduct_ascx' does not contain a definition for 'ddlCustomer_SelectedIndexChanged' and no extension method 'ddlCustomer_SelectedIndexChanged' accepting a first argument of type 'ASP.custgrpprodcatproduct_ascx' could be found (are you missing a using directive or an assembly reference?)


pls Guide me to fix dis issue..
Posted
Updated 18-Jul-14 5:22am
v3
Comments
nitrous_007 18-Jul-14 23:19pm    
What is this? WinForms or WPF?
usha C 19-Jul-14 0:35am    
Its web application using user control

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900