I get to the page that gives me the problems from a previous page-nav.aspx that
only has buttons and each button is directed to a different page. All the other
pages work fine only one page -payads.aspx gives me the viewstate problem.
When i change the buttons onclick from
btnAds2Pay.Attributes.Add("onclick", "SbtForm ('payads'); return false;")
to:
Private Sub btnAds2Pay_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnAds2Pay.Click
Server.Transfer("payads.aspx?aprst=1")
End Sub
it works but i don't want it to work that way. i want the
btnAds2Pay.Attributes.Add("onclick", "SbtForm ('payads'); return false;")