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

Rotator - Slide Show With Power Points with images

4 Answers 102 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Gustavo
Top achievements
Rank 1
Gustavo asked on 17 Jun 2014, 06:46 PM
Hi Telerik

it's my first time that I use the control Rotator but I found  that when I use the control rotator with xmlDataSource "http://demos.telerik.com/aspnet-ajax/rotator/examples/slideshow/defaultcs.aspx" the exercise was succesfully but I changed the xml by other with different information the exercise not working, my powerpoint have many slides with different images.

Regards

4 Answers, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 20 Jun 2014, 02:49 PM
Hello Gustavo,

The RadRotator demo you linked is configured to work with the exact XML structure that is shown when you click the presentation.xml tab in the demo. If you change the structure of the XML, you will have to update the ItemTemplate of the rotator with the names of the new XML nodes to ensure that the rotator will keep functioning.

If you are not sure how to do this, I will need a fully runnable sample that shows how you implemented the rotator with the changed data source so that I can help you apply it.

Regards,
Slav
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Gustavo
Top achievements
Rank 1
answered on 20 Jun 2014, 04:02 PM
Ok thanks , My objective is the follow I  want to develop a Viewer the Power Points(ppt) with images saved as how .xml  using the rotator with xmldatasource, I need obtain the slides the el power point how images the shows how to gallery and simulate the viewer the power point  , I think that is posible or I need other control,thanks..., one tag <pkg:binaryData> the my xml...

Thanks  and regards
0
Slav
Telerik team
answered on 25 Jun 2014, 08:35 AM
Hi Gustavo,

The RadRotator control can be data bound to a XmlDataSource and the XmlDataSource can present the data from an .xml to a data bound control, however it is up to you to make use of this data and to present it in a meaningful way. The .xml file that is generated by PowerPoint is quite complex and it will be difficult to interpret the information it contains. Note that the Slide Show demo you linked resembles a MS PowerPoint and it does not use an actual .xml generated from PowerPoint.

One way to make a similar example as the one shown in the demo is to create an .xml with simple structure that contains the needed texts and can be easily used with the XmlDataSource.

Another approach that might allow you achieve the desired result is to find a way to embed the PowerPoint slides on the page and then place them in the ItemTemplate of the rotator like various content is placed in the item template in the following demo: http://demos.telerik.com/aspnet-ajax/rotator/examples/richcontent/defaultcs.aspx

Regards,
Slav
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Gustavo
Top achievements
Rank 1
answered on 25 Jun 2014, 08:53 PM
thank you very much for the idea

regards
Tags
Rotator
Asked by
Gustavo
Top achievements
Rank 1
Answers by
Slav
Telerik team
Gustavo
Top achievements
Rank 1
Share this question
or