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

RadTabControl content is changing

1 Answer 52 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Jamshed
Top achievements
Rank 1
Jamshed asked on 18 Jul 2014, 05:47 AM
Hi,
I'm using RadTabControl and i have a problem with reloading. If add two tabs and edit first tab content and go to second tab and come back it lost the content. If I edit any tab content and click to this tab title and go to another tab and come back it binds and chenges context. I have a lost focus event for textbox(content) if i set break point  to lost focus event and after running i test all situation it's good working but i need to change Note.Content property in lost focus by binding Content textbox with content property. Content property is in Note class.
Can anybody help me?
Please advice as soon as possible
Thanx Jamshed

1 Answer, 1 is accepted

Sort by
0
Jamshed
Top achievements
Rank 1
answered on 18 Jul 2014, 06:41 AM
After long researches i find the answer and i want to share it. it was IsContentPreserved property and set it true it works <telerik:RadTabControl x:Name="tabControl" IsContentPreserved="True" ItemsSource="{Binding Tabs}">
Tags
TabControl
Asked by
Jamshed
Top achievements
Rank 1
Answers by
Jamshed
Top achievements
Rank 1
Share this question
or