You can achieve your desired scenario much easier by adding an HTML img element, which will be used for the detailed view. All you have to do is handle the OnClientItemClicked
event of the RadRotator in order to set the path for the detailed image, depending on the currently clicked item. I have implemented this approach into the attached sample project. Note that for the purpose of demonstration I have used the src
of the clicked image in the RadRotator in order to set the detailed image, while you can specify a new directory to a detailed version of the image. Please use the provided sample as a reference for incorporating the feature into your actual project.
In case the second RadRotator is used for other purposes as well and you aren't able to remove it, please specify the exact functionality it implements so that we can suggest an according solution.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed