I am trying to use coverflow with images from a database.
I am trying to do this with an http handler i already have created in my web app called GetImage.ashx which retrieves an image bytes from a sql database and returns it as a jpeg image
I cannot seem to get it to work. It just gives me a thumbnail saying 'error loading image' in the silverlight control when i test it.
I suspect there is a built-in check for the file extension since the control doesnt even get a chance to call the handler.
Is there way to do this?
Here is the example xaml
I am trying to do this with an http handler i already have created in my web app called GetImage.ashx which retrieves an image bytes from a sql database and returns it as a jpeg image
I cannot seem to get it to work. It just gives me a thumbnail saying 'error loading image' in the silverlight control when i test it.
I suspect there is a built-in check for the file extension since the control doesnt even get a chance to call the handler.
Is there way to do this?
Here is the example xaml
<
UserControl xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" x:Class="CosySlideShow.Page"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="500" Height="500">
<Grid x:Name="LayoutRoot" Background="White">
<telerikNavigation:RadCoverFlow x:Name="RadCoverFlow1" Width="500" Height="500" CameraY="-150" ItemMaxHeight="100">
<Image Source="GetImage.ashx?Id=1" />
<Image Source="GetImage.ashx?Id=2" />
<Image Source="GetImage.ashx?Id=3" />
<Image Source="GetImage.ashx?Id=4" />
<
Image Source="GetImage.ashx?Id=5" />
</telerikNavigation:RadCoverFlow>
</Grid>
</
UserControl>