For this issue you can try this code.
protected override PageStatePersister PageStatePersister
{
get
{
return new SessionPageStatePersister(this);
}
}
This overrides the normal page state persister and provides one that persists the page data to the Session instead of the ViewState and please make sure that if the property of any control by force is true make it false otherwise issue will still remain same.
enableviewstate=false
Links:
Refer link
protected override PageStatePersister PageStatePersister
{
get
{
return new SessionPageStatePersister(this);
}
}
This overrides the normal page state persister and provides one that persists the page data to the Session instead of the ViewState and please make sure that if the property of any control by force is true make it false otherwise issue will still remain same.
enableviewstate=false
Links:
Refer link

No comments:
Post a Comment