Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Anpu Massri   on Jun 13 In Asp.net Category.

  
Question Answered By: Timothy Patterson   on Jun 13

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;")

Share: 

 

This Question has 11 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Viewstate Or get search suggestion and latest updates.


Tagged: