TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jawad Anwar
NA
18
1.3k
Could not load type ServerSideViewStateAdapter App_Browser
Jan 31 2019 4:18 AM
Improving the performance of ASP.Net Webforms I tried a method which throw an error of Could not load type 'ServerSideViewStateAdapter'.
In my App_Code folder I have created a class with the same name.
using
System;
using
System.Web.UI;
using
System.Web.UI.Adapters;
namespace
MyProject.App_Code {
public
class
ServerSideViewStateAdapter : PageAdapter
{
public
override
PageStatePersister GetStatePersister()
{
// return base.GetStatePersister();
return
new
SessionPageStatePersister(
this
.Page);
}
}
}
and in App_Browseers I have created a file with the name of ViewStateAdapter.browser in which I'm getting an error on the
<
browsers
>
<
browser
refID
=
"Default"
>
<
controlAdapters
>
<
adapter
controlType
=
"System.Web.UI.Page"
adapterType
=
"ServerSideViewStateAdapter"
/>
</
controlAdapters
>
</
browser
>
</
browsers
>
The Error says: Parser Error Message: Could not load type 'ServerSideViewStateAdapter'.
I'm using VS 2013.
Kindly guide me regarding this error.
Thank you.
Reply
Answers (
1
)
asp.net as a language
how to retrive data faster ?