468,505 Members | 1,548 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,505 developers. It's quick & easy.

Button Click Event fired on second press?

Hello,

I have a Default.aspx page with several controls in a Master Page.
When pressing on a Button control Page_Load event is fired on the
Default.aspx page and after that the Page_Load event on the Master Page is
fired but it does not go to the Button event in the first button press but
only on the second press on the button.

I can't find out why Button Click event is firing only on the second press
and not on the first press where there are not JavaScript involved from my
side and there are no application errors.

Thanks in advanced for any help,
Asaf

Apr 8 '08 #1
1 2175
Hi,

Problem solved.
One of the TextBoxes involved was on AutoPostBack = True.

Thanks,
Asaf
"Asaf" wrote:
Hello,

I have a Default.aspx page with several controls in a Master Page.
When pressing on a Button control Page_Load event is fired on the
Default.aspx page and after that the Page_Load event on the Master Page is
fired but it does not go to the Button event in the first button press but
only on the second press on the button.

I can't find out why Button Click event is firing only on the second press
and not on the first press where there are not JavaScript involved from my
side and there are no application errors.

Thanks in advanced for any help,
Asaf
Apr 8 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Liqun Xu | last post: by
reply views Thread by Stuart Whiteford | last post: by
3 posts views Thread by Robert W. | last post: by
3 posts views Thread by David Lozzi | last post: by
3 posts views Thread by gieforce | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.