Show only 1 item inside ContentDialog

7 posts, 0 answers
  1. Miroslav
    Miroslav avatar
    30 posts
    Member since:
    Feb 2012

    Posted 02 Jun Link to this post

    Hello,

    I migrated my app from 2016.1 to 2016.2 and when I check my app, that properly work, I can see only 1 item in listview, that is inside ContentDialog. In last version was all OK. Can you repair this?

    Best Regards

    Miroslav Mareš

  2. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 06 Jun Link to this post

    Hi Miroslav,

    Could you please send me a sample project which reproduces this behavior? Thus I will be able to further investigate.

    I am looking forward to your reply.

    Regards,
    Ivaylo Gergov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Miroslav
    Miroslav avatar
    30 posts
    Member since:
    Feb 2012

    Posted 06 Jun Link to this post

    Hello,

    here is xaml code:

    <ContentDialog
        x:Class="TwiceM.UWP.VehicleManager.ViewDialog.ServiceOperationDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="using:TwiceM.UWP.VehicleManager.ViewDialog"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:telerikPrimitives="using:Telerik.UI.Xaml.Controls.Primitives"
        xmlns:telerikDataCore="using:Telerik.Data.Core"
        xmlns:telerikDataControls="using:Telerik.UI.Xaml.Controls.Data"
        xmlns:telerikListView="using:Telerik.UI.Xaml.Controls.Data.ListView"
        xmlns:telerikListViewCommands="using:Telerik.UI.Xaml.Controls.Data.ListView.Commands"
        mc:Ignorable="d"
        DataContext="{Binding Path=ServiceOperations, Source={StaticResource Locator}}"
        Title="Service operations"
        PrimaryButtonText="Save"
        SecondaryButtonText="Cancel"
        PrimaryButtonClick="ContentDialog_PrimaryButtonClick"
        SecondaryButtonClick="ContentDialog_SecondaryButtonClick">
      <Grid Margin="24">
        <telerikPrimitives:RadBusyIndicator AnimationStyle="AnimationStyle1"
                                            Grid.Row="0"
                                            IsActive="{Binding IsDataLoading}"
                                            Content="Loading..."
                                            Canvas.ZIndex="100"/>
        <telerikDataControls:RadListView x:Name="telerikListServiceOperations"
                                           EmptyContentDisplayMode="DataSourceEmpty"
                                           EmptyContent="No data."
                                           IsActionOnSwipeEnabled="False"
                                           SelectionMode="Multiple"
                                           ItemsSource="{Binding Items}" MinHeight="200">
          <telerikDataControls:RadListView.ItemStyle>
            <Style TargetType="telerikListView:RadListViewItem">
              <Setter Property="Padding" Value="0"/>
              <Setter Property="Margin" Value="0"/>
            </Style>
          </telerikDataControls:RadListView.ItemStyle>
          <telerikDataControls:RadListView.ItemTemplate>
            <DataTemplate>
              <Grid Margin="12">
                <Grid.RowDefinitions>
                  <RowDefinition Height="Auto"/>
                  <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <TextBlock Grid.Row="0"
                           Text="{Binding Name}"/>
                <TextBlock Grid.Row="1"
                           FontSize="10"
                           TextWrapping="Wrap"
                           Text="{Binding Description}"/>
              </Grid>
            </DataTemplate>
          </telerikDataControls:RadListView.ItemTemplate>
          <telerikDataControls:RadListView.Commands>
            <!--<telerikListViewCommands:ListViewUserCommand Id="ItemTap" Command="{Binding EditServiceOperationsCommand}" EnableDefaultCommand="False"/>-->
          </telerikDataControls:RadListView.Commands>
        </telerikDataControls:RadListView>
      </Grid>
    </ContentDialog>

    Best Regards

    Miroslav Mareš

  5. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 09 Jun Link to this post

    Hello Miroslav,

    I was able to reproduce this issue and I will further investigate it.
    I will contact you as soon as I have more information regarding fix or workaround.

    Regards,
    Ivaylo Gergov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  6. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 13 Jun Link to this post

    Hi Miroslav,

    We have logged this issue in our bug tracking system and we will try to address it for some of our next releases. For now, the only workaround would be to set fixed size of the RadListView.

    Thank you for your valuable feedback. I have updated your Telerik points.

    Regards,
    Ivaylo Gergov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  7. Miroslav
    Miroslav avatar
    30 posts
    Member since:
    Feb 2012

    Posted 20 Jul in reply to Ivaylo Gergov Link to this post

    Hello,

    I installed the last update, but this issue is not fixed? Or only partially? In desktop version (x86) I see same result as before. But in mobile version (ARM) I can see all items, but I cannot scroll last item into view. Please when you fix this bug?

    Best Regards

    Miroslav Mareš

  8. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 26 Jul Link to this post

    Hello Miroslav,

    Unfortunately, this bug is not yet fixed. It seems that the fix is not so trivial and we will further evaluate it.

    Please, let me know should you have any other questions.

    Regards,
    Ivaylo Gergov
    Telerik by Progress
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner