perhaps I'm doing this all wrong... 
I have a page with a form and button which when pressed goes back to the same page. It works grand but the statement
if(Page.IsPostBack)
does not work.
Its loaded from the Page_Load function
I got so frustrate that I put in a hidden value which works fine but even the following won't catch
if(!data.Value.Equals("")) {//my code}
Perhaps I'm doing something totally stupid... enlighten me please.
I have a page with a form and button which when pressed goes back to the same page. It works grand but the statement
if(Page.IsPostBack)
does not work.
Its loaded from the Page_Load function
I got so frustrate that I put in a hidden value which works fine but even the following won't catch
if(!data.Value.Equals("")) {//my code}
Perhaps I'm doing something totally stupid... enlighten me please.