RadTabControl content is changing

2 posts, 0 answers
  1. Jamshed
    Jamshed avatar
    4 posts
    Member since:
    Jul 2014

    Posted 18 Jul 2014 Link to this post

    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
  2. Jamshed
    Jamshed avatar
    4 posts
    Member since:
    Jul 2014

    Posted 18 Jul 2014 in reply to Jamshed Link to this post

    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}">
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top