This is a migrated thread and some comments may be shown as answers.

Pin pages of RadPageView from code

2 Answers 15 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vitaliy
Top achievements
Rank 1
Vitaliy asked on 02 Apr 2018, 01:18 PM

Hello.
How can I change the pin state (pinned/unpinned) of some page of RadPageView from code? RadPageView.ViewMode is set to Strip.
Can this be done, when the RadPageView.ViewElement.ShowItemPinButton = false ?
Thank you!

2 Answers, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 03 Apr 2018, 02:02 PM
Hello, Vitaliy,   

In order to pin a page programmatically it is not necessary to set the RadPageViewStripElement.ShowItemPinButton property to false. You can achieve it by using the following code snippet:
this.radPageViewPage2.Item.IsPinned = true;




I hope this information helps. If you have any additional questions, please let me know. 

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Vitaliy
Top achievements
Rank 1
answered on 04 Apr 2018, 09:15 AM
Thank you!
Tags
GridView
Asked by
Vitaliy
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Vitaliy
Top achievements
Rank 1
Share this question
or