|
i have two panel in my form.
on click event of button in panel1 it shows panel2 and panel1 get hide.
But when i click twice on button1 which is on panel1 it fires event of button2 which is on panel two. how to avoid it.
|
|
|
|
|
You also posted this question here[^]; please post in one forum only.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
i wasnt sure whether it got post or not so i post it again...
kindly delete this particular post of mine , i am unable to delete it.
thanks.
|
|
|
|
|
You can see that it got posted when you first enter it, or by refreshing the view in your browser.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Looks like you hide button1 and show button2. Try to keep button1 and button2 separate instead of keeping one on top of the other.
When you click button1 once, disable button1 and enable button2 and panel2.
|
|
|
|
|
button1 is on panel1 and button2 is on panel 2...
panel1 is above panel2 and panel2 is hidden..
on click event of button1 what i do is hide panel1 and show panel2...
on single click of button1 it works properly but when we click it twice it complete it task and as panel2 replace panel1's position and come above it. its control (button2) get focus and its event get fire...
|
|
|
|
|
Disable button1 until tasks complete and then enable it again.
|
|
|
|
|
tried alredy but it is not working...
|
|
|
|
|
Pick one forum and stick with it. That way, answers won't be fragmented.
|
|
|
|