S
Steve
Hi,
I'm having a page with:
Private Sub Page_Load(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles MyBase.Load
containing the body of my source code.
And also a button with the onclick event:
Private Sub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click
If I click the button the debugger is stopping at the
Page_Load function instead at Button1_Click! Why this? I
expected it to stop at Button1_Click, changing a value and
then loading the page again by using
Server.Transfer(webform1.aspx) !
I hope somebody can help me!
Thanks in advance
Steve
I'm having a page with:
Private Sub Page_Load(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles MyBase.Load
containing the body of my source code.
And also a button with the onclick event:
Private Sub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click
If I click the button the debugger is stopping at the
Page_Load function instead at Button1_Click! Why this? I
expected it to stop at Button1_Click, changing a value and
then loading the page again by using
Server.Transfer(webform1.aspx) !
I hope somebody can help me!
Thanks in advance
Steve