We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfTileView is not showing any data

Thread ID:

Created:

Updated:

Platform:

Replies:

116974 Jul 13,2014 11:13 AM UTC Jul 14,2014 09:44 AM UTC Windows Phone 1
loading
Tags: SfTileView
rajeev
Asked On July 13, 2014 11:13 AM UTC

Hi,

I have followed the example mentioned in the http://help.syncfusion.com/wp8  for Tile View. Nothing is displaying in the UI. Then I exactly copy& pasted the code available in the above link. Project is successfully build but no data is showing. Did I miss anything?

  <control:SfTileView Height="400" Width="400" Grid.Row="1"
                       Visibility="Visible"        Orientation="Horizontal"
                                ItemsSource="{Binding Employees}" 
                                MinimizedItemsOrientation="Right">
            <control:SfTileView.ItemContainerStyle>
                <Style TargetType="control:SfTileViewItem">
                    <Setter Property="HorizontalAlignment" Value="Stretch"/>
                    <Setter Property="VerticalAlignment" Value="Stretch"/>
                    <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
                    <Setter Property="VerticalContentAlignment" Value="Stretch"/>
                </Style>
                </control:SfTileView.ItemContainerStyle>
                <control:SfTileView.ItemTemplate>
                    <DataTemplate>
                        <Border Background="LightBlue">
                            <TextBlock Text="{Binding Name}"
                                       FontSize="14" Margin="8" Foreground="White"
                                       HorizontalAlignment="Stretch"/>
                        </Border>
                    </DataTemplate>
                </control:SfTileView.ItemTemplate>

                <control:SfTileView.MaximizedItemTemplate>
                    <DataTemplate>
                        <Border Background="LightBlue">
                            <TextBlock Text="{Binding Description}"
                                           Foreground="White" FontSize="18"/>
                        </Border>
                    </DataTemplate>
                </control:SfTileView.MaximizedItemTemplate>
            </control:SfTileView>

public partial class Test : PhoneApplicationPage
    {
        private List<Employee> employees;

        public Test()
        {
            InitializeComponent();
            Employees = new List<Employee>();

            Employees.Add(new Employee() { Name = "James", Description = "Description about James" });

            Employees.Add(new Employee() { Name = "Linda", Description = "Description about Linda" });

            Employees.Add(new Employee() { Name = "Carl", Description = "Description about Carl" });

            Employees.Add(new Employee() { Name = "Niko", Description = "Description about Niko" });
        }
        public class Employee
        {
            public string Name { get; set; }

            public string Description { get; set; }
        }

        public List<Employee> Employees
        {
            get { return employees; }

            set { employees = value; }
        }

    }

Please help

Suresh B [Syncfusion]
Replied On July 14, 2014 09:44 AM UTC

Hi Rajeev,

Thanks for using Syncfusion Products.

We request you to follow the incident 127273 for this query.

Incident link: http://www.syncfusion.com/support/directtrac/incidents/127273

Please let us know if you have any queries.

Thanks,
Suresh B


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;