Pin pages of RadPageView from code

3 posts, 1 answers
  1. Vitaliy
    Vitaliy avatar
    10 posts
    Member since:
    Mar 2018

    Posted 02 Apr 2018 Link to this post

    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. Answer
    Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3201 posts

    Posted 03 Apr 2018 Link to this post

    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.
  3. Vitaliy
    Vitaliy avatar
    10 posts
    Member since:
    Mar 2018

    Posted 04 Apr 2018 Link to this post

    Thank you!
Back to Top