we have a new issue with RadTabControl - when we use style selector to use RadTabControl in MVVM concept, after we create more than one TabItems, after each active tab control item change, the View's constructor is everytime called.. - why RadTabControl is creating everytime new instance??? (-> Click on the button to add any tab items, create breakpoint into constructor UserControl1() and switch between the tabs...)
When we change RadTabControl into TabControl (remove all Telerik's stuff from MainWindow.xaml), the problem is solved... Thank you for your help...
5 Answers, 1 is accepted
In order to keep the TabItem's content in memory (and this way not re-initializing) you can set the IsContentPreserved to True. Please check out this help article for more info on this.
On a side note, you will be able to attach zips if you open a support thread.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Please note that there is a designer's decision behind the default value of each property in our controls. Could you please share with us the reasons why setting a property in your application is an obstacle. Also, please note that this particular property is well described in our documentation.
Thank you for your feedback.
Pavel R. Pavlov
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
I look at my other codes before decided to dig through the documentation and Google to find out the source of the multiple constructor call.... well finally landed at this posting to confirm the blame.