Using the Outlook ViewMode the PageView is able to hide and show buttons ("Show More/Fewer Buttons"). But if I restart the application the layout of the PageView is back to default. How can I save this state, or how can I get/set the PageViewPages, that have changed?
As far as I'm aware, only the RadGridView and RadCommandBar currently have this functionality (LoadLayout / SaveLayout). You would would need to implement your own way of saving and loading layouts at the moment. I imagine though that this may be a future feature as the control allows adding and removing as you have pointed out.
It may be worth submitting a feature request for this.
Hope that helps, but if oyu have further questions, just let me know
Richard
I have the same need and am wondering if this featura has been added since or if someone has found a way to save and restore these settings ?
I have version 2017.1.117.40
Thanks
PJ Pralong
0
Hristo
Telerik team
answered on 01 Feb 2017, 12:02 PM
Hello PJ,
Thank you for writing.
RadPageView does not provide the required save/load behavior out of the box. However, it has a convenient API to hiding/showing and checking/unchecking its page items. Please refer to the following documentation articles:
Once you choose the approach to save and restore the state of the items it is up to you to decide in what form you will persist it. You can refer to the following threads discussing a similar matter: