This is a migrated thread and some comments may be shown as answers.

ContentType?

1 Answer 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Larry
Top achievements
Rank 1
Iron
Iron
Veteran
Larry asked on 07 Nov 2009, 12:17 AM
Hi,

I am trying to upgrade an existing application to Q3.  I was using code such as this:

    calendarCovers.Items.Add(calendarList[i].ImagePath);
where ImagePath was the filename of a jpeg file.

It seems ContentType is gone from the control?

When I run this app now it displays the filenames rather than the images.

Help please...

Thanks,

-ldl-

1 Answer, 1 is accepted

Sort by
0
Hristo Borisov
Telerik team
answered on 08 Nov 2009, 08:27 PM
Hi Larry,

Yes, we decided to remove the ContentType because there was no clear idea of what shall happen when you use ItemTemplate. That is why, you are now required just to insert an item template that defines the content of your item. Here is a short snippet that should be sufficient for your problem:

<telerikNavigation:RadCoverFlow.ItemTemplate>
            <DataTemplate>
                <Border BorderBrush="Black" BorderThickness="1">
                    <Image Source="{Binding}" Stretch="UniformToFill"
                            telerikNavigation:RadCoverFlow.EnableLoadNotification="True" />
                </Border>
            </DataTemplate>
        </telerikNavigation:RadCoverFlow.ItemTemplate>

If you experience other problems, please get back to us immediately.

Regards,
Hristo Borisov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Larry
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Hristo Borisov
Telerik team
Share this question
or