Button Click Event fired on second press?
am 08.04.2008 15:41:01 von AG70
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
RE: Button Click Event fired on second press?
am 08.04.2008 17:38:01 von AG70
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
>