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

Getting started with CoverFlow control

3 Answers 109 Views
CoverFlow
This is a migrated thread and some comments may be shown as answers.
Matt James
Top achievements
Rank 1
Matt James asked on 10 Nov 2009, 07:11 PM
Greetings,
   I am trying to figure out how to embed the coverflow control in a web page of a new project.  I have downloaded the trial of the RADControls for Silverlight 3 and am looking through the project.  However, it's not clear to me what is required from the sample project to include in my project just for the coverflow portion as in the sample project the coverflow is embedded in another silverlight control.

Hope that makes sense and I look forward to feedback.

Thanks!,
 Matt

3 Answers, 1 is accepted

Sort by
0
Hristo Borisov
Telerik team
answered on 11 Nov 2009, 10:13 AM
Hi Matt James,

I am not sure that I have fully understood your case, but essentially to get started you have to create a Silverlight project and a web project that will embed your Silverlight application xap file. Then you have to add reference to our Telerik.Windows.Controls and Telerik.Windows.Controls.Navigation assemblies in your Silverlight project and instantiate the RadCoverFlow control. Here is a nice example of how to achieve these three simple steps. Note that the example explains how to instantiate a TreeView control, but is it essentially the same for a CoverFlow control.

If there is anything vague or unclear, please get back to us and we will be more than willing to provide you with additional explanation of your concerns.

Best wishes,
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.
0
Matt James
Top achievements
Rank 1
answered on 11 Nov 2009, 09:37 PM
Hi, thanks for the tip.  I went to that page and of course it's very basic.  I really just want to get a basic example up and running of the coverflow control but can't for the life of me sort it out.  I checked the documentation but it's not very useful.

up and running?

[UPDATE]

I have the control working using xml binding ... you really should consider complete code examples in the documentation.

Now I am trying to wire up a scroll bar to the coverflow control to no avail thus far ... I have a added the code as follows

<ScrollBar Width="600" Height="20" Margin="0,2,0,0" 
            Orientation="Horizontal" SmallChange="1" LargeChange="3" Minimum="0" Grid.Row="1" 
            Value="{Binding ElementName=cover, Path=SelectedIndex, Mode=TwoWay}" 
            Maximum="{Binding ElementName=coverPath=ItemsSource.Count,  
            Converter={StaticResource IntToIntValueConverter}, ConverterParameter=-1}" /> 
Also added the IntToValueConverter class ... compiles fine but the scroll bar does nothing nor has a slider. Is there an additional step I am missing?

Thanks again!
0
Accepted
Hristo Borisov
Telerik team
answered on 13 Nov 2009, 05:05 PM
Hi Matt James,

I am attaching a sample project that replicates the Bind to XML example. You have a textbox that will do a Flickr search as well as a ScrollBar. There seems to be a problem with the ValueConverter when an ObservableCollection is used, the binding is not updated properly and that is why your Slider does not work correctly. I will investigate this problem further. Until then excuse us for this inconvenience.

Moreover, our documentation is currently a major task for us and we have undertaken significant changes that will be available in the upcoming months. Until then you can use our support service to resolve all your current issue. Thank you for contacting us and we look forward to receiving your feedback again.

Greetings,
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
CoverFlow
Asked by
Matt James
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
Matt James
Top achievements
Rank 1
Share this question
or