Problem in adding tabs dynamically and placing its content in the item template

2 posts, 0 answers
  1. surya prayaga
    surya prayaga avatar
    5 posts
    Member since:
    Jan 2010

    Posted 09 Feb 2010 Link to this post

    Hi friends,

    We r facing a problem in binding the data to the telerik tab control panel and adding the list to the the item content. Here is the code what we have written in xaml.

    <telerikNavigation:RadTabControl  x:Name="rFacilitiesTab" Width="870" Height="Auto" HorizontalAlignment="Left" Grid.Row="0" Grid.Column="0"
                    VerticalAlignment="Top"
                    DropDownDisplayMode="Visible"
                    Background="White"
                    Foreground="Black"
                    BorderThickness="1"
                    BorderBrush="#FFCDD0D1"
                    BackgroundVisibility="Collapsed"  
                    >
                  <ItemsControl x:Name="lstTabItems" ItemsSource="{Binding SurveyResultsList}">
                                                <ItemsControl.ItemTemplate>
                                                    <DataTemplate>

    --Here we are adding a text block binding with the property name.but its not working
    <TextBlock Text="{Binding MpsrxProgram.SiteConfigRecomm, Mode=TwoWay}" FontSize="11" Margin="5,5,5,5" ></TextBlock>
                                            
                                                    </DataTemplate>
       </ItemsControl.ItemTemplate>
    </ItemsControl >
                </telerikNavigation:RadTabControl>


    please let us know how to resolve it asap.

    Regards
    SRA team
  2. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 12 Feb 2010 Link to this post

    Hello Surya,

    Thank you for contacting us.

    Please preview the attached example.

    We hope this information will help you.

    Regards,
    Ivan
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
Back to Top