My colleague Todd Anglin has already written a post about how to create a rotator control dynamically - you can read it here - How to Create RadRotator Programmatically
. Unfortunately, this code in that post is for the old RadRotator control and if you try to use it in the new ASP.NET AJAX version, you will notice that it will not compile. Fortunately, you can quickly fix that. Here is what you need to change: FrameTemplate
- this property has been replaced with ItemTemplate RadRotatorFrame
- this object has been replaced with RadRotatorItem
After you update the above names, you should be able...