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

Issue of radbook reseting to front page

1 Answer 16 Views
Book
This is a migrated thread and some comments may be shown as answers.
Fairoz
Top achievements
Rank 1
Fairoz asked on 04 Jul 2012, 09:35 AM
Hi,

I got a RadTabControl whose itemsource is databinded to an observablecollection and it's itemtemplate has a RadBook. I am also using a RadPager attached to the RadBook in the itemtemplate. Everything with the binding and stuff works fine.

When I have two objects in the collection, two tabs are generated. This is ok and each tab has its RadBook fully loaded as expected. Browsing and fliping the pages are also ok. But, when I move from one tab to the other, the previous tab's RadBook (the one that lost focus) goes back or resets to the front page. The page that was last viewed does not hold.

Why is that?

Thanks

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 09 Jul 2012, 06:36 AM
Hi Fairoz,

 You can set IsContentPreserved to True in the RadTabControl. This should save the states of your RadBooks when changing the tabs. Please let us know if this helps.

All the best,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Book
Asked by
Fairoz
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or