Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do I have to use Viewstate in ASP.NET

I am moving from classic ASP to ASP.NET and have encountered what many of you already know as "viewstate". I might be jumping the gun with my assumption, but it looks highly cumbersome. I have developed many ASP forms in the past and never had issues with keeping state. Is there another way OR am I going to have to learn this Viewstate thing in ASP.NET? I am using Visual Studio 2008, VB.NET as the code behind language and Framework v3.5 with SQL Server 2005.

like image 789
Taptronic Avatar asked Nov 28 '22 02:11

Taptronic


1 Answers

You don't have to. Check out MVC framework. It eliminates ViewState and works as old ASP (at least from this point of view).

like image 155
Biri Avatar answered Dec 15 '22 18:12

Biri