RadCarousel as RowDetail isn't stretching

2 posts, 0 answers
  1. Rafael
    Rafael avatar
    1 posts
    Member since:
    May 2012

    Posted 26 May 2012 Link to this post

    Hi Telerik team, I'm facing a problem of using RadCarousel as RowDetail in a GridView, as the RadCarousel path isn't streching along the row detail, only the RadCarousel background is.

    The result is a big empty blank space from the RadCarousel, and the Carousel itens left-aligned.

    Here is the sample:

        Title="EDAS - Environmental Documentation Alert System"
        <!-- hidded code -->
            <telerik:RadGridView Grid.Row="1"
                                 ItemsSource="{Binding Path=Documentos}"
                                 Visibility="{Binding Path=DocVisibility}">
        <!-- hidded code -->
                            <Grid DataContext="{Binding Path=AnexosContext}">
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <Path x:Key="Horizontal"
                                          Data="M 9,200 C9,200 450,200 450,200 "
                                          StrokeThickness="1" />
                                <telerik:RadCarousel Grid.Row="0" ItemsSource="{Binding Path=Anexos}" HorizontalScrollBarVisibility="Disabled">
                                            <telerik:RadCarouselPanel HorizontalAlignment="Stretch" Path="{StaticResource ResourceKey=Horizontal}" IsContinuous="True" IsPathVisible="True" />
                                <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
                                    <telerik:RadButton Content="Adicionar" Width="75" Command="{Binding Path=AddCommand}" />
                                    <telerik:RadButton Content="Remover" Width="75" Command="{Binding Path=DeleteCommand}" />

    Am I missing some configuration?

  2. Vlad
    Vlad avatar
    11100 posts

    Posted 28 May 2012 Link to this post


     I've checked your account however since you do not have any downloads I'm not sure about the version of the grid at your end? Can you post more info?

    Kind regards,
    the Telerik team

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

Back to Top