Click here to Skip to main content
15,922,015 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when user select combox item it handles follwing event

combobox_selectedindexchanged()


when user click on button i want to trigger above event again automatic like user selected the item

My mean is i want to handle the event programmatically when user click on button, the code inside combobox event should be exceuted;

What I have tried:

i have tried page.refresh(),call directly event but nothing happened.
Posted
Updated 2-Sep-17 21:39pm

1 solution

Don't.
Instead, have both events call the same function and do the processing there.
 
Share this answer
 
Comments
[no name] 3-Sep-17 5:06am    
Sorry sir, i can't understand, should i create new function and call that function from both event?
OriginalGriff 3-Sep-17 5:10am    
Yes!
[no name] 3-Sep-17 5:19am    
ok @OriginalGriff sir now i get it, thanks for always being there. i always thankful to you...
OriginalGriff 3-Sep-17 5:37am    
You're welcome!

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