Button Click Event fired on second press?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QXNhZg==?=

    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

  • =?Utf-8?B?QXNhZg==?=

    #2
    RE: Button Click Event fired on second press?

    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
    >

    Comment

    Working...