Get DataItem Value

2 posts, 1 answers
  1. Dick
    Dick avatar
    36 posts
    Member since:
    Sep 2007

    Posted 01 Apr 2010 Link to this post

    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?
  2. Answer
    Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 06 Apr 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top