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

Get DataItem Value

1 Answer 91 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Dick
Top achievements
Rank 1
Dick asked on 01 Apr 2010, 11:58 AM
I use a radotator with a DataSet DataSource. The dataset contains a table with 3 columns.

I can detect the current item using the get_currentItem() method. How do i get the value of a DataItem Column ClientSide?

1 Answer, 1 is accepted

Sort by
0
Accepted
Fiko
Telerik team
answered on 06 Apr 2010, 10:24 AM
Hello Dick,

 The RadRotator control does not preserve the DataItem object on the client. Your scenario, however, can be easily implemented by using hidden fields inside the rotator's ItemTemplate and bind the desired columns to these fields. Then you can get the value of a specific column for a specific RadRotator item by using the approach described in this code library.

I hope this helps.

Sincerely yours,
Fiko
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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Rotator
Asked by
Dick
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or