You need to sign in to do that
Don't have an account?
Palak
Maximum View State is exceeding [ERROR on VF]
Hi all,
I am retieving the list of contacts on VF . I have applied pagination, for this i am using standardsetController and for showing records on VF i m creating wrapper of those contacts, beacuse of the check boxes column in pageblocktable.
My issue is I cannot set any of the list as null and their view state size is too much.
Please help me.
With Regards
Palak
If the viewstate is too large you'll have to do something to reduce it. Are you querying back lots of fields for the contacts in question?
some best practises are there in order to eliminate this metioned in this post have a glance and happy day
http://forceguru.blogspot.in/2010/11/best-practise-to-write-apex.html
Hello,
Thanks for replying.
Yes the problem was with fields only. I reduce the number of fields and problem got solved. Thanks a lot
With Regards
Palak