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.
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.