Event fired where it shouldn't!

D

dina

I am using one main aspx page, in which i am loading different user
controls for different web pages. At one place, when i load a user
control from another user control and come back to the same user
control, and click a Button, for some reason, instead of firing
Button_Click event, the code first fires the selectedindexchange event
of the dropdown box (i have a dropdown on the usercontrol) and then
fires the button_click event. i couldnot understand why the code fires
selectedindex change event, where i haven't changed the index of the
dropdown box. also, i couldn't understand, why it is firing both the
events (selected index change and then button click event).

anyone know the answer? please reply. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top