Button Click Event fired on second press?


A

Asaf

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
 
Ad

Advertisements

A

Asaf

Hi,

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

Thanks,
Asaf
 

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

Top