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.

Recommended Answers

All 2 Replies

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

-Chris

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'

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.