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

How to set ItemTemplate in VB

3 Answers 90 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Rob Diamant
Top achievements
Rank 1
Rob Diamant asked on 20 Nov 2008, 03:06 PM
I am trying to build a rotator via VB and cannot figure out how to set the ItemTemplate property. Any suggestions would be appreciated.

3 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 24 Nov 2008, 08:31 AM
Hello,

I am attaching a sample site in VB.NET using the RadRotator for ASP.NET AJAX, which shows how to create and bind the rotator dynamically. I hope it will help you.

Greetings,
Lini
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
dc
Top achievements
Rank 1
answered on 10 Mar 2009, 12:13 PM
Can you tell me how the 

function

GetRadRotator()  would be implemented with the dynamic control?
An updated sample would be great.

Thanks
Dan

 

0
Fiko
Telerik team
answered on 11 Mar 2009, 11:54 AM
Hello DC,

You need to add a custom property (in code behind ) that returns a reference to the created RadRotator control. Then you can use this property and get the reference to the RadRotator's object on the client side ( by using server parentheses). For your convenience I modified the previous project and reattached it to this thread as rotatordynamictemplatewithproperty.zip.
I hope this helps.

Best wishes,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Rotator
Asked by
Rob Diamant
Top achievements
Rank 1
Answers by
Lini
Telerik team
dc
Top achievements
Rank 1
Fiko
Telerik team
Share this question
or