Use already defined method to put viewstates