Click here to Skip to main content
15,915,065 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
protected void Page_Load(object sender, EventArgs e)
    {
       Loademployeegeofencee(strUnitNo);
    }


private void Loademployeegeofencee(object strUnitNo)
    {
        //here i load the value from the database to the dropdownlist "Superuserid1"
        //this works fine
        
    }

protected void Superuserid1_SelectedIndexChanged(object sender, EventArgs e)
    {
              //code to be executed

    }


My Superuserid1_SelectedIndexChanged event is not fired.

Please help me out
Posted
Updated 11-Nov-11 8:15am
v5

set the autopostback property of the dropdownlist to true
 
Share this answer
 
try autopostback=true; for fire the event...good luck
 
Share this answer
 
check whether you have set onselected index changed property to the event handler method.
 
Share this answer
 
Have you set "AutoPostback = true" to dropdownlist.
 
Share this answer
 
v2
Comments
ashok_89 11-Nov-11 8:20am    
thanks a lot sir it worked i have been siting in my company these much time breaking my head since iam know only java
RaviRanjanKr 11-Nov-11 15:19pm    
My 5+
member60 14-Nov-11 4:11am    
My 5+

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