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

Access RadTicker items

3 Answers 67 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Mahmoud
Top achievements
Rank 1
Mahmoud asked on 13 May 2011, 04:06 PM
Hi,

in the demo of the RadRotator with Ticker ..
 
the data source that I'm using is SqlDataSource .. and I can access the items in the Rotator ... but I have

a problem access the RadTickerItem inside it which is inside the RadTicker .. 

so .. any help I will be grateful.

3 Answers, 1 is accepted

Sort by
0
Niko
Telerik team
answered on 13 May 2011, 05:00 PM
Hi Mahmoud,

Do you need to access the RadTickerItem on the server-side (code-behind) or on the client-side? Could you, please, specify the scenario you wish to accomplish so that I can pinpoint you to the correct sources of information?


All the best,
Niko
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Mahmoud
Top achievements
Rank 1
answered on 13 May 2011, 06:28 PM
 Hi Admin,

I want to access the RadTickerItem in server side (Code-behind) in   C# .
0
Accepted
Niko
Telerik team
answered on 17 May 2011, 01:48 PM
Hi Mahmoud,

Once getting a reference to the RadTicker control, you have access to its Items collection. If you need the first item you can simply ask for the first element of the collection:
var firstItem = ticker.Items[0];
However the RadTicker does not persist its state across postbacks, therefore you cannot find the currently shown Item among all the items on the server.

Hope this helps.

Greetings,
Niko
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Rotator
Asked by
Mahmoud
Top achievements
Rank 1
Answers by
Niko
Telerik team
Mahmoud
Top achievements
Rank 1
Share this question
or