Disable ViewPart programatically

Hi,

How ViewParts can be deactivated from code behind?
It can be displayed by calling Activate method, however if i call the Dispose the content of the viewpart really disappear however, there is an empty "dock" which have to be manually exited to completely disappear. Is there anyway to make it happen or did i miss something?

Thanks in advance

Balazs

Parents Reply Children
No Data