I need a suggestion on this issue: I got an object list that I use as itemssource for Carousel. Those objects inside list includes some strings and the image, which comes from a query that, unfortunately, takes very long time due to dimension of images.
The only way to make it faster is to remove image field from the output of the query and set it to null: in this way, obviously, my carouselitems will be without photo.
Now, how can I manage an event (e.g. Click) inside the elements of my ControlTemplate of my corouselItem? I would like to have something like a "deferred image loading", so the user will see many carouselItem without photo, but when he clicks on the item inside the eventhandler a single specific query will be done for only the image selected (so faster).
I made carouselItem following telerik sample code:
As you can see this UserControl has a property DataItem which will be set to the corresponding data item. This property can be used when querying for a specific image.
Once this control is clicked it hides the default text and then loads a dummy image using the GetImage method. You can implement you own query logic there.
Hope this is helpful.
the Telerik team
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?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.