1,105,229 Community Members

disable viewstate

Member Avatar
aadi_capri
Light Poster
40 posts since Sep 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

hello friends
how can i disable view state in vb.net,so that i have the properties of labels as i left,when i return to a page.
i am developing a windows application.
thanks in advance.

Member Avatar
NetJunkie
Junior Poster
162 posts since Aug 2011
Reputation Points: 29 [?]
Q&As Helped to Solve: 29 [?]
Skill Endorsements: 0 [?]
 
1
 

Check this link out and see what you can do with it. Hope this helps!

-Chris

Member Avatar
aadi_capri
Light Poster
40 posts since Sep 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

i was using this earlier'
Disable the View State in the page.M
Private Sub MyPage_Init_DisableViewState(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Init
Me.EnableViewState = False
End Sub
AND ITS GIVING ERROR ON THE 'init' and 'me.enableviewstate=false'

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: