Well, what is the question.
Page will definitely post back on button click (or any such event or server side control). You need to handle your code in Page_Load using isPostBack
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
else
{
}
Hope that helps
Milind