hi all,
i made a web page, with a save button that acts differently.(depends on the Session("CurrentMode")
As i don't know asp.net controls very well my question could seem basic but not for me :
i have noticed that when i click on the save button (in debug mode) the code returns in the Page_Load BEFORE to deal with the btnSave_Click event.
Why is the page loading again with a simple click ?
I thought it was a simple button property, i made many test, but my page is still reloading before to catch the btnSave_Click event. I also tryed to set the document's smartNavigation property to true, but nothing changed.
How could i disable this ? I just want to catch the btnSave_Click, i don't want the page to be loaded again.
Best regards,
Elise, XML girl X-)
i made a web page, with a save button that acts differently.(depends on the Session("CurrentMode")
As i don't know asp.net controls very well my question could seem basic but not for me :
i have noticed that when i click on the save button (in debug mode) the code returns in the Page_Load BEFORE to deal with the btnSave_Click event.
Why is the page loading again with a simple click ?
I thought it was a simple button property, i made many test, but my page is still reloading before to catch the btnSave_Click event. I also tryed to set the document's smartNavigation property to true, but nothing changed.
How could i disable this ? I just want to catch the btnSave_Click, i don't want the page to be loaded again.
Best regards,
Elise, XML girl X-)