So what code have you written in your page load event?
And instead of putting in openly,put it in this way..
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
//write here if needed
}
}
}
And please put some source code,so that some one can understand what is happening wrong.
:)